Skip to content

Commit

Permalink
Update expectation to be more convenient (#117)
Browse files Browse the repository at this point in the history
* Update expectation to be more convenient

* Added entry to the CHANGELOG file
  • Loading branch information
etagwerker authored Mar 2, 2024
1 parent 77bbd4e commit 047e28d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* <INSERT YOUR FEATURE OR BUGFIX HERE>

* [ENHANCEMENT: Better test suite with more relaxed console output expectation](https://github.com/fastruby/skunk/pull/117)

## v0.5.3 / 2023-12-01 [(commits)](https://github.com/fastruby/skunk/compare/v0.5.2...v0.5.3)

* [BUGFIX: Update reek, rubocop, and terminal-table dependencies](https://github.com/fastruby/skunk/pull/111)
Expand Down
2 changes: 1 addition & 1 deletion test/lib/skunk/application_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
end

_(File.read("tmp/generated_report.txt"))
.must_equal File.read("test/samples/console_output.txt")
.must_include File.read("test/samples/console_output.txt")
end
end

Expand Down
4 changes: 1 addition & 3 deletions test/samples/console_output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
SkunkScore Total: 0.59
Modules Analysed: 1
SkunkScore Average: 0.59
Worst SkunkScore: 0.59 (samples/rubycritic/analysed_module.rb)

Generated with Skunk v0.5.2
Worst SkunkScore: 0.59 (samples/rubycritic/analysed_module.rb)

0 comments on commit 047e28d

Please sign in to comment.