Skip to content

Commit

Permalink
Fix cljs test for new sci version.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkinnear committed Jan 16, 2021
1 parent 2cbdc32 commit ce76087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/zprint/core_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
(catch Exception e (str e))))
:cljs
(expect
"Error: Unable to create zprint options-map from: '{:format\n' found in !zprint directive number: 1 because: #error {:message \"EOF while reading, expected } to match { at [1,1]\", :data {:type :sci.error/parse, :line 2, :column 1, :phase \"parse\", :file nil}, :cause #error {:message \"EOF while reading, expected } to match { at [1,1]\", :data {:type :edamame/error, :line 2, :column 1}}}"
"Error: Unable to create zprint options-map from: '{:format\n' found in !zprint directive number: 1 because: #error {:message \"EOF while reading, expected } to match { at [1,1]\", :data {:type :sci.error/parse, :line 2, :column 1, :edamame/expected-delimiter \"}\", :edamame/opened-delimiter \"{\", :phase \"parse\", :file nil}, :cause #error {:message \"EOF while reading, expected } to match { at [1,1]\", :data {:type :edamame/error, :line 2, :column 1, :edamame/expected-delimiter \"}\", :edamame/opened-delimiter \"{\"}}}"
(try
(zprint-file-str
"#!/usr/bin/env bb\n\n;!zprint {:format\n\n(ns hello\n (:require [clojure.java.io :refer [file]]\n [clojure.java.shell :refer [sh]]))\n\n"
Expand Down

0 comments on commit ce76087

Please sign in to comment.