Skip to content

Commit 3225f83

Browse files
committed
Fail tests if there are compile warnings
1 parent 00674af commit 3225f83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/magithub-test-compile.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
(format "magithub-test-compile--%s"
1010
(file-name-base f)))
1111
()
12-
(should (byte-compile-file ,f))))
12+
(should (let ((byte-compile-error-on-warn t))
13+
(byte-compile-file ,f)))))
1314
files)))
1415

1516
(magithub-test-compile

0 commit comments

Comments
 (0)