Skip to content

Commit

Permalink
Merge pull request #101 from crystal-lang-tools/keidax/expected-failu…
Browse files Browse the repository at this point in the history
…re-newlines
  • Loading branch information
nobodywasishere authored Jan 11, 2025
2 parents 267125a + 95e52d6 commit 9079be3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/crystal_parse_stdlib.cr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if failed != expected_fail
should_update_failed_list = ARGV.includes?("-u")

if should_update_failed_list
File.write(EXPECTED_TO_FAIL_FILEPATH, failed.join("\n"))
File.write(EXPECTED_TO_FAIL_FILEPATH, failed.join("\n") + "\n")
else
if !new_fails.empty?
puts "Following files failed to parse, Use -u to update the list of files expected to fail:"
Expand Down
2 changes: 1 addition & 1 deletion test/crystal_parse_stdlib_fail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -797,4 +797,4 @@ yaml/pull_parser.cr
yaml/schema/core.cr
yaml/schema/core/parser.cr
yaml/schema/fail_safe.cr
yaml/to_yaml.cr
yaml/to_yaml.cr
2 changes: 1 addition & 1 deletion test/stdlib_coverage.cr
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if failed != expected_fail
should_update_failed_list = ARGV.includes?("-u")

if should_update_failed_list
File.write(EXPECTED_TO_FAIL_FILEPATH, failed.join("\n"))
File.write(EXPECTED_TO_FAIL_FILEPATH, failed.join("\n") + "\n")
else
if !new_fails.empty?
puts "Following files failed to parse, Use -u to update the list of files expected to fail:"
Expand Down
2 changes: 1 addition & 1 deletion test/stdlib_coverage_expected_to_fail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ xml/builder.cr
xml/libxml2.cr
yaml/builder.cr
yaml/from_yaml.cr
yaml/serialization.cr
yaml/serialization.cr

0 comments on commit 9079be3

Please sign in to comment.