-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing failures for diagnostics (#19)
For whatever reason, the outputs neotest gives us are in DOS format (\r\n line endings). This is why failures don't show up in diagnostics even though we set errors in the results and tests are passing. Luckily, it seems we don't need the newlines in `failure_test`
- Loading branch information
Showing
5 changed files
with
72 additions
and
24 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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Running 3 tests in a single process (parallelization threshold is 50) | ||
Run options: --name /UserInfoControllerTest\#test_throwaway/ -v --seed 7565 | ||
|
||
# Running: | ||
|
||
UserInfoControllerTest#test_throwaway = 0.07 s = F | ||
|
||
|
||
Failure: | ||
UserInfoControllerTest#test_throwaway [test/controllers/caregiver_onboarding/user_info_controller_test.rb:21]: | ||
Expected: 2 | ||
Actual: 3 | ||
|
||
|
||
bin/rails test test/controllers/caregiver_onboarding/user_info_controller_test.rb:20 | ||
|
||
|
||
Finished in 0.073849s, 13.5411 runs/s, 13.5411 assertions/s. | ||
1 runs, 1 assertions, 1 failures, 0 errors, 0 skips | ||
|