Skip to content

Commit

Permalink
Testing for Raku/doc#2968
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Aug 25, 2019
1 parent 728c115 commit 7f502e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test-versioned.p6
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
BEGIN {
class Versioned { }
Versioned.^set_ver: '0,0,1';
Versioned.^set_auth: 'github:Kaiepi';
Versioned.^set_api: IntStr.new: 0, '0';
}
say Versioned.^ver; # OUTPUT: «0.0.1␤»
say Versioned.^auth: # OUTPUT: «github:Kaiepi␤»
say Versioned.^api: # OUTPUT: «0␤»

0 comments on commit 7f502e0

Please sign in to comment.