diff options
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 381eb3e689..7d3da22597 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -204,7 +204,9 @@ end However only the `test` macro allows a more readable test name. You can still use regular method definitions though. -NOTE: The method name is generated by replacing spaces with underscores. The result does not need to be a valid Ruby identifier though, the name may contain punctuation characters etc. That's because in Ruby technically any string may be a method name. Odd ones need `define_method` and `send` calls, but formally there's no restriction. +NOTE: The method name is generated by replacing spaces with underscores. The result does not need to be a valid Ruby identifier though, the name may contain punctuation characters etc. That's because in Ruby technically any string may be a method name. This may require use of `define_method` and `send` calls to function properly, but formally there's little restriction on the name. + +Next, let's look at our first assertion: ```ruby assert true |