Skip to content

Commit a5491da

Browse files
committed
Make support/mod test accept either binary
1 parent 18b818c commit a5491da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test-rust-setup.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
(flycheck-rust-find-cargo-target (crate-file "src/bin/b.rs"))
6464
:to-equal '("bin" . "b")))
6565

66-
(it "'src/bin/support/mod.rs' to the 'b' binary target"
66+
(it "'src/bin/support/mod.rs' to any binary target"
6767
(expect
6868
(flycheck-rust-find-cargo-target (crate-file "src/bin/support/mod.rs"))
69-
:to-equal '("bin" . "b")))
69+
:to-equal-one-of '("bin". "a") '("bin". "b")))
7070

7171
(it "'tests/a.rs' to the 'a' test target"
7272
(expect

0 commit comments

Comments
 (0)