Skip to content

Commit

Permalink
point to /opt/test-runner/
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbicodes committed Jul 6, 2023
1 parent 6b10c3c commit abf28fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/example-empty-file/expected_results.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 3,
"status": "error",
"message": "----- Error --------------------------------------------------------------------\nType: clojure.lang.ExceptionInfo\nMessage: Could not resolve symbol: leap/leap-year?\nData: {:type :sci/error, :line 5, :column 1, :file \"/home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj\", :phase \"analysis\"}\nLocation: /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:6:12\nPhase: analysis\n\n----- Context ------------------------------------------------------------------\n 2: (:require [clojure.test :refer [deftest is]]\n 3: leap))\n 4: \n 5: (deftest year-not-divisible-by-4\n 6: (is (not (leap/leap-year? 2015))))\n ^--- Could not resolve symbol: leap/leap-year?\n 7: \n 8: (deftest year-divisible-by-2-but-not-4\n 9: (is (not (leap/leap-year? 1970))))\n10: \n11: (deftest year-divisible-by-4-but-not-100\n\n----- Stack trace --------------------------------------------------------------\nleap-test - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:6:12\nclojure.core/list - <built-in>\nclojure.core/let - <built-in>\nleap-test - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:6:3\nleap-test/is - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:6:3\n... (run with --debug to see elided elements)\nclojure.core/fn - <built-in>\nleap-test - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nleap-test - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nleap-test - /home/bobbi/clojure-test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nuser - /home/bobbi/clojure-test-runner/./test-runner.clj:19:1"
"message": "----- Error --------------------------------------------------------------------\nType: clojure.lang.ExceptionInfo\nMessage: Could not resolve symbol: leap/leap-year?\nData: {:type :sci/error, :line 5, :column 1, :file \"/opt/test-runner/tests/example-empty-file/test/leap_test.clj\", :phase \"analysis\"}\nLocation: /opt/test-runner/tests/example-empty-file/test/leap_test.clj:6:12\nPhase: analysis\n\n----- Context ------------------------------------------------------------------\n 2: (:require [clojure.test :refer [deftest is]]\n 3: leap))\n 4: \n 5: (deftest year-not-divisible-by-4\n 6: (is (not (leap/leap-year? 2015))))\n ^--- Could not resolve symbol: leap/leap-year?\n 7: \n 8: (deftest year-divisible-by-2-but-not-4\n 9: (is (not (leap/leap-year? 1970))))\n10: \n11: (deftest year-divisible-by-4-but-not-100\n\n----- Stack trace --------------------------------------------------------------\nleap-test - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:6:12\nclojure.core/list - <built-in>\nclojure.core/let - <built-in>\nleap-test - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:6:3\nleap-test/is - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:6:3\n... (run with --debug to see elided elements)\nclojure.core/fn - <built-in>\nleap-test - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nleap-test - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nleap-test - /opt/test-runner/tests/example-empty-file/test/leap_test.clj:5:1\nuser - /opt/test-runner/./test-runner.clj:19:1"
}
2 changes: 1 addition & 1 deletion tests/example-syntax-error/expected_results.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 3,
"status": "error",
"message": "----- Error --------------------------------------------------------------------\nType: java.lang.Exception\nMessage: No reader function for tag leap\nLocation: /home/bobbi/clojure-test-runner/tests/example-syntax-error/test/leap_test.clj:2:3\n\n----- Context ------------------------------------------------------------------\n1: (ns leap-test\n2: (:require [clojure.test :refer [deftest is]]\n ^--- No reader function for tag leap\n3: leap))\n4: \n5: (deftest year-not-divisible-by-4\n6: (is (not (leap/leap-year? 2015))))\n7: \n\n----- Stack trace --------------------------------------------------------------\nedamame.impl.parser/parse-sharp - <built-in>\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\n... (run with --debug to see elided elements)\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\nedamame.core/parse-next - <built-in>\nleap-test - /home/bobbi/clojure-test-runner/tests/example-syntax-error/test/leap_test.clj:2:3\nuser - /home/bobbi/clojure-test-runner/./test-runner.clj:19:1"
"message": "----- Error --------------------------------------------------------------------\nType: java.lang.Exception\nMessage: No reader function for tag leap\nLocation: /opt/test-runner/tests/example-syntax-error/test/leap_test.clj:2:3\n\n----- Context ------------------------------------------------------------------\n1: (ns leap-test\n2: (:require [clojure.test :refer [deftest is]]\n ^--- No reader function for tag leap\n3: leap))\n4: \n5: (deftest year-not-divisible-by-4\n6: (is (not (leap/leap-year? 2015))))\n7: \n\n----- Stack trace --------------------------------------------------------------\nedamame.impl.parser/parse-sharp - <built-in>\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\n... (run with --debug to see elided elements)\nedamame.impl.parser/dispatch - <built-in>\nedamame.impl.parser/parse-next - <built-in>\nedamame.core/parse-next - <built-in>\nleap-test - /opt/test-runner/tests/example-syntax-error/test/leap_test.clj:2:3\nuser - /opt/test-runner/./test-runner.clj:19:1"
}

0 comments on commit abf28fc

Please sign in to comment.