We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57bff55 commit ef63586Copy full SHA for ef63586
S02-literals/version.t
@@ -1,6 +1,6 @@
1
use v6;
2
use Test;
3
-plan 30;
+plan 31;
4
5
is v1.2.3, '1.2.3', 'version literal stringification';
6
is v1.2.3+, '1.2.3+', 'version literal stringification';
@@ -34,3 +34,4 @@ ok v1.2.0 eqv v1.2.0.0.0.0.0, 'trailing zeroes are equivalent';
34
35
is Version.new(""), '', "can we handle empty string versions";
36
is Version.new("").gist, 'v', "can we handle empty string versions";
37
+is Version.new(*).gist, 'v*', "can we handle a bare Whatever";
0 commit comments