diff --git a/test/com/datastax/configbuilder/operator_test.clj b/test/com/datastax/configbuilder/operator_test.clj index 9bdc08b..5998043 100644 --- a/test/com/datastax/configbuilder/operator_test.clj +++ b/test/com/datastax/configbuilder/operator_test.clj @@ -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