namespace test failures
Closed / Fixed2433936fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-16 17:21:22
Tests namespace-old-9.5 and namespace-28.1 fail on the HEAD because they test the complete result of [namespace import] evaluated in the global namespace. The TIP 329 temp implementation imports new commands [try] and [throw] into ::, changing the result. Since this may well not be a permanent feature, adding them to the expected list is the wrong fix. A better fix is to run at least the [namespace import] tests, if not the entire namespace*.test collections of tests, in some child namespace over which the testing collection can claim complete control. error.test is an example of one such scheme.
dkfplain2008-12-17 22:41:03
Fixed using a temporary namespace to provide more control. Excellent suggestion.
Log in (anonymous is fine) to add a comment.