OSDN Git Service
(root)
/
happyabc
/
happyabc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a69b790
)
add test case for use_network option
author
mzp
<mzpppp@gmail.com>
Sun, 20 Dec 2009 02:31:35 +0000
(11:31 +0900)
committer
mzp
<mzpppp@gmail.com>
Sun, 20 Dec 2009 06:28:55 +0000
(15:28 +0900)
link/cmdOptTest.ml
patch
|
blob
|
history
diff --git
a/link/cmdOptTest.ml
b/link/cmdOptTest.ml
index
52525d5
..
a5beb0d
100644
(file)
--- a/
link/cmdOptTest.ml
+++ b/
link/cmdOptTest.ml
@@
-30,4
+30,8
@@
let _ = begin "cmdOpt.ml" >::: [
ok "foo.swf" (fun t -> t#output) "-o foo.swf";
ok "foo.swf" (fun t -> t#output) "--output=foo.swf"
end;
+ "use network" >:: begin fun () ->
+ ok false (fun t -> t#use_network) "";
+ ok true (fun t -> t#use_network) "--use-network"
+ end
] end +> run_test_tt_main