Skip to content

Commit

Permalink
Use clojure.string/includes? instead of contains
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Apr 10, 2024
1 parent 13fcabd commit e5973c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/com/datastax/configbuilder/operator_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
:definitions-location test-data/definitions-location})
(is false "Malformed input was not detected")
(catch Exception e
(is (contains "Unexpected end-of-input within/between Object entries"
(.getMessage e))
(is (clojure.string/includes? (.getMessage e) "Unexpected end-of-input within/between Object entries")
"Wrong error thrown"))))
(testing "ensure all files generated"
(sut/make-configs
Expand Down

0 comments on commit e5973c5

Please sign in to comment.