Skip to content

Commit 09befde

Browse files
committed
expose possible problem in linux 1.8.5 binary
1 parent 8e9216b commit 09befde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/arduino_cmd_spec.rb

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def get_sketch(dir, file)
5959

6060
it "Passes a simple INO sketch at #{sketch_path_ino}" do
6161
expect(arduino_cmd.verify_sketch(sketch_path_ino)).to be true
62+
# try twice in a row
63+
expect(arduino_cmd.verify_sketch(sketch_path_ino)).to be true
6264
end
6365

6466
it "Rejects a PDE sketch at #{sketch_path_pde}" do
@@ -71,6 +73,9 @@ def get_sketch(dir, file)
7173

7274
it "Fails a bad sketch at #{sketch_path_bad}" do
7375
expect(arduino_cmd.verify_sketch(sketch_path_bad)).to be false
76+
# try twice in a row
77+
expect(arduino_cmd.verify_sketch(sketch_path_ino)).to be true
7478
end
79+
7580
end
7681
end

0 commit comments

Comments
 (0)