Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a test for two argument nqp::ord.
  • Loading branch information
pmurias committed Mar 17, 2014
1 parent fb5b4b7 commit f4c1e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/nqp/59-nqpop.t
Expand Up @@ -2,7 +2,7 @@

# Test nqp::op pseudo-functions.

plan(102);
plan(103);


ok( nqp::add_i(5,2) == 7, 'nqp::add_i');
Expand All @@ -22,6 +22,7 @@ ok( nqp::index('rakudo', 'do') == 4, 'nqp::index found');
ok( nqp::index('rakudo', 'dont') == -1, 'nqp::index not found');
ok( nqp::chr(120) eq 'x', 'nqp::chr');
ok( nqp::ord('xyz') eq 120, 'nqp::ord');
ok( nqp::ord('xyz',2) eq 122, '2 argument nqp::ord');
ok( nqp::lc('Hello World') eq 'hello world', 'nqp::downcase');
ok( nqp::uc("Don't Panic") eq "DON'T PANIC", 'nqp::upcase');
ok( nqp::flip("foo") eq "oof", "nqp::flip");
Expand Down

0 comments on commit f4c1e4b

Please sign in to comment.