nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src: mass rename project->package
[nit.git]
/
tests
/
test_opts.nit
diff --git
a/tests/test_opts.nit
b/tests/test_opts.nit
index
05e41b4
..
b0a2cce
100644
(file)
--- a/
tests/test_opts.nit
+++ b/
tests/test_opts.nit
@@
-36,6
+36,12
@@
for x in ctx.rest do
print x
end
+var errors = ctx.errors
+if errors.not_empty then
+ print "Errors: {errors.length}"
+ print ctx.errors.join("\n")
+end
+
print "OptionBool: {ob.value}"
print "OptionCount: {oc.value}"
if os.value == null then os.value = ""