Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Play nice with Windows

  • Loading branch information...
commit f0150fa81910d42939bb297299cb67666f5b26bf 1 parent fa9c958
@trptcolin trptcolin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/koan_engine/checker.clj
View
4 src/koan_engine/checker.clj
@@ -1,6 +1,6 @@
(ns koan-engine.checker
(:refer-clojure :exclude [test])
- (:use [clojure.java.io :only (resource)]
+ (:use [clojure.java.io :only (file resource)]
[koan-engine.koans :only [ordered-koans]]
[clojure.string :only [join split trim] :as string])
(:require [koan-engine.util :as u]))
@@ -16,7 +16,7 @@
(repeat k)))))))
(defn koan-text [koan-root koan]
- (slurp (str koan-root "/" koan ".clj")))
+ (slurp (file koan-root (str koan ".clj"))))
(defn answers-for [koan-resource koan sym]
(let [answers (mk-answers koan-resource)]

0 comments on commit f0150fa

Please sign in to comment.
Something went wrong with that request. Please try again.