Index: tests/info-method.test =================================================================== diff -u -rc4997e0189bb712287aa53d12bb3e332acfb781d -r56a0f7cc781f54a9f16fea75e9df1dfef4c8e11a --- tests/info-method.test (.../info-method.test) (revision c4997e0189bb712287aa53d12bb3e332acfb781d) +++ tests/info-method.test (.../info-method.test) (revision 56a0f7cc781f54a9f16fea75e9df1dfef4c8e11a) @@ -1021,4 +1021,11 @@ ? {D info methods} "c1 d1 d2" ? {D info methods -closure *2} "m2 d2 c2" ? {D info methods -closure -source application} "m1 m2 c1 d1 d2 c2" +} + +# +# Test error messages within an ensemble call +# +nx::Test case error-in-ensemble { + ? {nx::Object info method definition foo 1} {Invalid argument '1', maybe too many arguments; should be "::nx::Object info method args|body|definition|exists|registrationhandle|definitionhandle|handle|origin|parameter|parametersyntax|type|precondition|postcondition|submethods name"} } \ No newline at end of file