Commit graph

3 commits

Author SHA1 Message Date
Johan Mynhardt (MEA) 08af659366 Remove unused import. 2022-05-26 21:24:56 +02:00
Johan Mynhardt ac80507b5f Update transformer_test.clj
Use more appropriate test without `str/trim`.
2022-05-26 04:32:23 +02:00
Johan Mynhardt (MEA) 4aa6bf978f Add test for transform java.lang.ClassCastException
When `obj` argument is a string (X)HTML payload and
not a string URL or URI, the following exception is
thrown:

```clojure
java.lang.ClassCastException: class java.lang.Class cannot be cast to class clojure.lang.IFn
```
2022-05-21 16:19:57 +02:00