Skip to content

Commit

Permalink
StdlibUnittest: correct precondition() message
Browse files Browse the repository at this point in the history
  • Loading branch information
gribozavr committed Mar 31, 2016
1 parent bcb698b commit 66808b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ public class TestSuite {
case .single(let code):
precondition(
parameter == nil,
"can't pass parameters to parameterized tests")
"can't pass parameters to non-parameterized tests")
code()
case .parameterized(code: let code, _):
code(parameter!)
Expand Down

0 comments on commit 66808b9

Please sign in to comment.