You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running poly test :dev on a brick that has a cljc test file with a reader conditional, the following stacktrace is produced:
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at polylith.clj.core.common.class_loader$invoke_in_STAR_.invokeStatic(class_loader.clj:31)
at polylith.clj.core.common.class_loader$eval_in_STAR_$print_read_eval__233.invoke(class_loader.clj:46)
at polylith.clj.core.common.class_loader$eval_in_STAR_.invokeStatic(class_loader.clj:51)
at polylith.clj.core.common.class_loader$eval_in.invokeStatic(class_loader.clj:60)
at polylith.clj.core.common.interface$eval_in.invokeStatic(interface.clj:21)
at polylith.clj.core.test_runner.core$run_test_statements$fn__7491.invoke(core.clj:63)
at polylith.clj.core.test_runner.core$run_test_statements.invokeStatic(core.clj:63)
at polylith.clj.core.test_runner.core$run_tests_for_project.invokeStatic(core.clj:121)
at polylith.clj.core.test_runner.core$run.invokeStatic(core.clj:171)
at polylith.clj.core.test_runner.interface$run.invokeStatic(interface.clj:4)
at polylith.clj.core.command.test$run.invokeStatic(test.clj:9)
at polylith.clj.core.command.core$execute.invokeStatic(core.clj:75)
at polylith.clj.core.command.interface$execute_command.invokeStatic(interface.clj:4)
at polylith.clj.core.poly_cli.core$_main.invokeStatic(core.clj:31)
at polylith.clj.core.poly_cli.core$_main.doInvoke(core.clj:7)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at polylith.clj.core.poly_cli.core.main(Unknown Source)
Caused by: Syntax error compiling quote at (0:0).
Wrong number of args (0) passed to quote
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7132)
at clojure.lang.Compiler.analyze(Compiler.java:6806)
at clojure.lang.Compiler.analyze(Compiler.java:6762)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3900)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7126)
at clojure.lang.Compiler.analyze(Compiler.java:6806)
at clojure.lang.Compiler.analyze(Compiler.java:6762)
at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:6137)
at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5479)
at clojure.lang.Compiler$FnExpr.parse(Compiler.java:4041)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7122)
at clojure.lang.Compiler.analyze(Compiler.java:6806)
at clojure.lang.Compiler.eval(Compiler.java:7191)
at clojure.lang.Compiler.eval(Compiler.java:7183)
at clojure.lang.Compiler.eval(Compiler.java:7149)
at clojure.core$eval.invokeStatic(core.clj:3215)
at clojure.core$eval.invoke(core.clj:3211)
at clojure.core$eval138.invokeStatic(NO_SOURCE_FILE:0)
at clojure.core$eval138.invoke(NO_SOURCE_FILE)
at clojure.lang.Compiler.eval(Compiler.java:7194)
at clojure.lang.Compiler.eval(Compiler.java:7149)
... 21 more
Caused by: clojure.lang.ExceptionInfo: Wrong number of args (0) passed to quote {:form (quote)}
at clojure.lang.Compiler$ConstantExpr$Parser.parse(Compiler.java:2016)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7124)
... 41 more
Couldn't run test statement for the development project: (do (clojure.core/use (quote clojure.test)) (clojure.core/require (quote )) (clojure.test/run-tests (quote ))) java.lang.reflect.InvocationTargetException
To Reproduce
Steps to reproduce the behavior:
Run poly create component name:bar
Change the components/bar/test/foo/bar/interface_test.clj to components/bar/test/foo/bar/interface_test.cljc
Add the following conditionalized require to the interface_test.cljc file:
Describe the bug
When running
poly test :dev
on a brick that has a cljc test file with a reader conditional, the following stacktrace is produced:To Reproduce
Steps to reproduce the behavior:
poly create component name:bar
components/bar/test/foo/bar/interface_test.clj
tocomponents/bar/test/foo/bar/interface_test.cljc
interface_test.cljc
file:poly test :dev :verbose
# test statements
section of the output has this invalid test statement:interface_test.cljc
filepoly test :dev
Expected behavior
The
poly test
command should run the tests without crashing.Operating System (please complete the following information):
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: