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

Commit

Permalink
Add Throwable.message unittest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanja-boric-sociomantic committed Aug 31, 2017
1 parent ad5eac7 commit 54f97e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/object.d
Expand Up @@ -1840,6 +1840,11 @@ unittest
assert(e.next !is null);
assert(e.msg == "msg");
}

{
auto e = new Exception("message");
assert(e.message == "message");
}
}


Expand Down

0 comments on commit 54f97e3

Please sign in to comment.