Skip to content

Commit

Permalink
Fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
luchiniatwork committed Jan 23, 2022
1 parent 88b3572 commit bd6d9ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/core_test.clj
@@ -1,5 +1,6 @@
(ns core-test
(:require [clojure.edn :as edn]
[clojure.string :as s]
[clojure.test :refer :all]
[hodur-engine.core :as engine]
[hodur-lacinia-schema.core :as lacinia]))
Expand Down Expand Up @@ -330,7 +331,9 @@
edn/read-string
engine/init-schema)
s (-> conn (lacinia/schema {:output :sdl}))
s-target (slurp "test/sdl-test.schema")]
s-target (-> "test/sdl-test.schema"
slurp
(s/replace #"\r\n" "\n"))]
(is (= s-target s))))


Expand Down

0 comments on commit bd6d9ba

Please sign in to comment.