Skip to content

Commit

Permalink
update style and improve check in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Jun 8, 2012
1 parent e3904b2 commit 82ab077
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions t/medium/02assignto.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

// Basic tests for =: operator

using extern Test.More plan, is;

function main()
{
using extern Test.More;
using Test.More.plan;
using Test.More.is;
plan (2);

var a= new [ "FixedStringArray" ];
Expand Down
1 change: 0 additions & 1 deletion t/medium/02postincdec.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function main()

function aux(int i, int check, string msg)
{
using Test.More.is;
is (i, check, msg);
}

Expand Down
4 changes: 2 additions & 2 deletions t/medium/05attributes.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function main()
foo.set("hello");
is(foo.*atname, "hello", "indirect get string");

foo.*atname = "hello";
is(foo.bar, "hello", "indirect set string");
foo.*atname = "bye";
is(foo.bar, "bye", "indirect set string");

check = 0;
try {
Expand Down

0 comments on commit 82ab077

Please sign in to comment.