Skip to content

Commit

Permalink
Modify test to verify the error message contains, not is with line re…
Browse files Browse the repository at this point in the history
…strictions in pkgs
  • Loading branch information
burmanm committed Apr 10, 2024
1 parent 17a93d3 commit 13fcabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/datastax/configbuilder/operator_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
:definitions-location test-data/definitions-location})
(is false "Malformed input was not detected")
(catch Exception e
(is (= "Unexpected end-of-input within/between Object entries\n at [Source: (StringReader); line: 1, column: 31]"
(is (contains "Unexpected end-of-input within/between Object entries"
(.getMessage e))
"Wrong error thrown"))))
(testing "ensure all files generated"
Expand Down

0 comments on commit 13fcabd

Please sign in to comment.