   (:import [com.datastax.driver.core.utils Bytes])
   (:require [clojure.test                          :refer :all]
             [clojurewerkz.cassaforte.new-query-api :refer :all]))
+
+(defn normalize-string
+  [s]
+  (clojure.string/replace s "\t" "  "))
 
 (deftest test-select-query
 

    e int,
    b varchar,
    PRIMARY KEY(a, c, d))"
         (create-table :foo
                       (column-definitions {:a :int
                                            :b :varchar
                                            :c :int
                                            :d :int
                                            :e :int
                                            :primary-key [:a :c :d]}))))


  (is (= "

    d int,
    e int,
    PRIMARY KEY((a, b), c, d))"
         (normalize-string
          (create-table :foo
                        (column-definitions {:a :int
                                             :b :varchar
                                             :c :int
                                             :d :int
                                             :e :int
                                             :primary-key [[:a :b] :c :d]}))

          )))

  (is (= "
  CREATE TABLE foo(
