-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If there is any AST error with a doctest, we make it a standalone test
To do so, AST error detection was improved in order to not filter out too many doctests.
- Loading branch information
1 parent
222f7dc
commit 2e3c2aa
Showing
5 changed files
with
259 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
|
||
running 6 tests | ||
running 5 tests | ||
test $DIR/no-run-flag.rs - f (line 11) - compile ... ok | ||
test $DIR/no-run-flag.rs - f (line 14) ... ignored | ||
test $DIR/no-run-flag.rs - f (line 17) - compile ... ok | ||
test $DIR/no-run-flag.rs - f (line 28) - compile ... ok | ||
test $DIR/no-run-flag.rs - f (line 32) - compile ... ok | ||
test $DIR/no-run-flag.rs - f (line 8) - compile ... ok | ||
|
||
test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
|
||
|
||
running 1 test | ||
running 2 tests | ||
test $DIR/no-run-flag.rs - f (line 14) ... ignored | ||
test $DIR/no-run-flag.rs - f (line 23) - compile fail ... ok | ||
|
||
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
|
||
running 4 tests | ||
test $DIR/test-type.rs - f (line 12) ... ignored | ||
running 3 tests | ||
test $DIR/test-type.rs - f (line 15) - compile ... ok | ||
test $DIR/test-type.rs - f (line 6) ... ok | ||
test $DIR/test-type.rs - f (line 9) - should panic ... ok | ||
|
||
test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
|
||
|
||
running 1 test | ||
running 2 tests | ||
test $DIR/test-type.rs - f (line 12) ... ignored | ||
test $DIR/test-type.rs - f (line 21) - compile fail ... ok | ||
|
||
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in $TIME | ||
|
Oops, something went wrong.