On tcl tests - how to interpret tcltest::test
问题 I am looking at the tests in TCL source tree and I see this one in compExpr-old.test: test compExpr-old-14.17 {CompilePrimaryExpr: string primary that looks like var ref} { expr $ } $ It looks wrong to me: the test runs the script expr $ and expects the return value is "$". Is my interpretation right? It cannot be right because expr $ is wrong syntactically. I checked out tcltest.tcl, the definition of tcltest::test is so long, wish someone can help me over here. 回答1: I don't know what