Skip to content

Commit

Permalink
Fix the behavior of a unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackerpilot committed May 23, 2016
1 parent 836a905 commit e702b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/variant.d
Original file line number Diff line number Diff line change
Expand Up @@ -2613,9 +2613,9 @@ unittest
Obj obj = 1;

obj.visit!(
(int x) => {},
(IntTypedef x) => {},
(Obj[] x) => {},
(int x) {},
(IntTypedef x) {},
(Obj[] x) {},
);
}

Expand Down

0 comments on commit e702b0e

Please sign in to comment.