Sha256: 5851216cd675a9f01bb24553964307cd470be0031b4e927ec24289208a50fe82

Contents?: true

Size: 671 Bytes

Versions: 104

Compression:

Stored size: 671 Bytes

Contents

(ns proverb-test
  (:require [clojure.test :refer [deftest is]]
            [proverb :refer [proverb]]
            [clojure.string :as str]))

(deftest full-text-is-correct
  (is (= proverb
         (str/join "\n" ["For want of a nail the shoe was lost."
                         "For want of a shoe the horse was lost."
                         "For want of a horse the rider was lost."
                         "For want of a rider the message was lost."
                         "For want of a message the battle was lost."
                         "For want of a battle the kingdom was lost."
                         "And all for the want of a horseshoe nail."]))))

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
trackler-2.2.1.78 tracks/clojure/exercises/proverb/test/proverb_test.clj
trackler-2.2.1.77 tracks/clojure/exercises/proverb/test/proverb_test.clj
trackler-2.2.1.76 tracks/clojure/exercises/proverb/test/proverb_test.clj
trackler-2.2.1.75 tracks/clojure/exercises/proverb/test/proverb_test.clj