Skip to content

Commit

Permalink
simplify compile test file layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Jul 1, 2019
1 parent ff9d198 commit 2c3d134
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion test_compile_errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ trybuild = { version=">= 1.0.0, <= 1.1" }

[lib]
doctest = false
test = false
File renamed without changes.
5 changes: 5 additions & 0 deletions test_compile_errors/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#[test]
fn compile_test() {
let t = trybuild::TestCases::new();
t.compile_fail("src/compile-fail/*.rs");
}
5 changes: 0 additions & 5 deletions test_compile_errors/tests/tests.rs

This file was deleted.

0 comments on commit 2c3d134

Please sign in to comment.