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

Commit

Permalink
[Trivial] Fix typo in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaLang committed Oct 16, 2015
1 parent 837fe17 commit c469cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/object.d
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 c469cf5

Please sign in to comment.