diff options
author | The Lux Programming Language | 2017-09-19 20:31:06 -0400 |
---|---|---|
committer | GitHub | 2017-09-19 20:31:06 -0400 |
commit | 61b92fcab969231092f1bb41ef9a6021a498dc8f (patch) | |
tree | 56b0d83be9a92205f18a35286dec4cb93a336d98 /stdlib/source | |
parent | 3744a2212a89d4ab0f176350d2d2f90696235a40 (diff) | |
parent | ccc065035fd06496ece9c7ddb0ef20f436265723 (diff) |
Merge pull request #34 from mccraigmccraig/fix-duration-tests
fix duration frame and encoding tests
Diffstat (limited to 'stdlib/source')
-rw-r--r-- | stdlib/source/lux/time/duration.lux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/time/duration.lux b/stdlib/source/lux/time/duration.lux index 61f2452a6..2adc023a2 100644 --- a/stdlib/source/lux/time/duration.lux +++ b/stdlib/source/lux/time/duration.lux @@ -102,7 +102,7 @@ (def: (lex-section suffix) (-> Text (l;Lexer Int)) (|> (p;codec number;Codec<Text,Int> (l;many l;decimal)) - (p;before (l;this suffix)) + (p;before (p;seq (l;this suffix) (p;not l;alpha))) (p;default 0))) (def: lex-duration |