0022125: TCollection_ExtendedString: conversion from UTF-8 to unicode
[occt.git] / tests / bugs / fclasses / bug24863_3
CommitLineData
1951a27c 1# Test for #24863: protect variable
2
3box b 10 10 10
4set is_ok [whatis b]
5protect b
6
7if {![catch {set b aaaaa}]} {
8 puts "Error : variable was changed"
9}
10
191082ac 11if {$b != "b"} {
12 puts "Error : tcl variable doesn't point to same-named draw variable"
1951a27c 13}
14
15set check_ok [whatis b]
16if {$is_ok != $check_ok} {
17 puts "Error : results of command \"whatis\" are different"
18}