Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbelak committed Aug 17, 2018
1 parent ce10395 commit 49cc444
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
[3 nil]
[4 5]
[6 7]]})))

;; make sure that `infer-column-types` defaults `base_type` to `type/*` if there are no non-nil
;; values when we peek.
(expect
[{:name "a", :display_name "A", :base_type :type/*}]
(:cols (#'annotate-and-sort/infer-column-types {:columns [:a], :rows [[nil]]})))

0 comments on commit 49cc444

Please sign in to comment.