File tree Expand file tree Collapse file tree
spec/cljx/xapi_schema/schemata Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 :license {:name " Eclipse Public License"
55 :url " http://www.eclipse.org/legal/epl-v10.html" }
66 :dependencies [[org.clojure/clojure " 1.7.0-RC1" ]
7- [org.clojure/clojurescript " 0.0-3297 " ]
7+ [org.clojure/clojurescript " 0.0-3308 " ]
88 [prismatic/schema " 0.4.3" ]
9- [cheshire " 5.4 .0" ]
9+ [cheshire " 5.5 .0" ]
1010 [org.clojure/core.match " 0.3.0-alpha4" ]
1111 [com.taoensso/tower " 3.1.0-beta3" ]]
1212 :exclusions [[org.clojure/clojure]
Original file line number Diff line number Diff line change 6262
6363(describe " DurationRegEx"
6464 (it " matches ISO durations"
65- (should (re-matches DurationRegEx " P3Y6M4DT12H30M5S" ))))
65+ (should (re-matches DurationRegEx " P3Y6M4DT12H30M5S" ))
66+ (should (re-matches DurationRegEx " P23DT122.34S" ))
67+ (should-not (re-matches DurationRegEx " PT" ))
68+ (should-not (re-matches DurationRegEx " P10.3DT1.7S" ))))
6669
6770(describe " Base64RegEx"
6871 (it " matches Base64 encoded stuff"
You can’t perform that action at this time.
0 commit comments