Skip to content

Commit

Permalink
fix error output, reclaim a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Aug 21, 2010
1 parent ad9586e commit 9a5f426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Partcl/commands/namespace.pm
Expand Up @@ -114,7 +114,7 @@ my sub children($namespace = pir::new('TclString'), $pattern = '*') {
for @ns -> $level {
$ns := $ns{$level};
if pir::typeof($ns) ne 'NameSpace' {
error("namespace \"$namespace\" not found in ::");
error('namespace "' ~ $namespace ~ '" not found in "::"');
}
}

Expand Down
2 changes: 1 addition & 1 deletion t/cmd_namespace.t
Expand Up @@ -18,7 +18,7 @@ eval_is {namespace children a b c} \

eval_is {namespace children what?} \
{namespace "what?" not found in "::"} \
{namespace children: unknown namespace} {TODO NQPRX}
{namespace children: unknown namespace}

is [namespace children] {::tcl} {namespace children: no args} {TODO NQPRX}
is [namespace children ::] {::tcl} {namespace children: ::} {TODO NQPRX}
Expand Down

0 comments on commit 9a5f426

Please sign in to comment.