Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[version.t] fix a test, masak++
also add v5 ~~ v1.2+, masak++ here too
  • Loading branch information
moritz committed May 12, 2012
1 parent 8cca77c commit 8ee4713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-literals/version.t
Expand Up @@ -15,7 +15,8 @@ ok v1.2.0 ~~ v1.2, 'smart-matching treats trailing 0 correctly (left)';
ok v1.2 ~~ v1.2.0, 'smart-matching treats trailing 0 correctly (right)';
ok v1.2 ~~ v1.0+, 'smart-matching and plus (+1)';
ok v1.2 ~~ v1.2+, 'smart-matching and plus (+2)';
ok v1.2 ~~ v1.3+, 'smart-matching and plus (-)';
ok v5 ~~ v1.2+, '+ scopes to the whole version, not just the last chunk';
nok v1.2 ~~ v1.3+, 'smart-matching and plus (-)';
ok v1.2.3 ~~ v1, 'smart-matching only cares about the length of the LHS';
nok v1.2.3 ~~ v2, '... but it can still fail';
is v1.2 cmp v1.2, Same, 'cmp: Same';
Expand Down

0 comments on commit 8ee4713

Please sign in to comment.