Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1410 from MetaLang/patch-1
Browse files Browse the repository at this point in the history
[Trivial] Fix typo in unittest
  • Loading branch information
CyberShadow committed Oct 16, 2015
2 parents 837fe17 + c469cf5 commit 13347a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ unittest
}

{
auto e = new Exception("msg", new Exception("It's an Excepton!"), "hello", 42);
auto e = new Exception("msg", new Exception("It's an Exception!"), "hello", 42);
assert(e.file == "hello");
assert(e.line == 42);
assert(e.next !is null);
Expand Down Expand Up @@ -1732,7 +1732,7 @@ unittest
}

{
auto e = new Error("msg", new Exception("It's an Excepton!"));
auto e = new Error("msg", new Exception("It's an Exception!"));
assert(e.file is null);
assert(e.line == 0);
assert(e.next !is null);
Expand Down

0 comments on commit 13347a9

Please sign in to comment.