Coljure-contrib maven build fail

1 view
Skip to first unread message

Base

unread,
Feb 3, 2010, 5:49:19 PM2/3/10
to Clojure
Hi

Pulling off of GIT I got the following 4 errors in the unit tests:

FAIL in (test-relative-path-string) (run-test5258617284758852043.clj:
45)
absolute path strings are forbidden
expected: (thrown? IllegalArgumentException (relative-path-string "/
baz"))
actual: nil

FAIL in (test-relative-path-string) (run-test5258617284758852043.clj:
45)
absolute File paths are forbidden
expected: (thrown? IllegalArgumentException (relative-path-string
(File. "/quux")))
actual: nil

FAIL in (test-file) (run-test5258617284758852043.clj:45)
no sneaking in absolute paths!
expected: (thrown? IllegalArgumentException (file "foo" "bar" "/boom"
"baz" "quux"))
actual: nil

FAIL in (test-as-url) (run-test5258617284758852043.clj:45)
expected: (= (URL. "file:/foo") (as-url (File. "/foo")))
actual: (not (= #<URL file:/foo> #<URL file:/C:/foo>))

Any thoughts on this?

Thanks

Stuart Sierra

unread,
Feb 4, 2010, 11:31:33 AM2/4/10
to Clojure
This has been reported before. It's a bug that shows up on Windows.
Please make an Assembla ticket.

In the mean time, build with -Dmaven.test.skip=true to ignore the
failure.

-SS

Reply all
Reply to author
Forward
0 new messages