Skip to content

Commit 8fc6729

Browse files
amomchilovandrykonchin
authored andcommitted
Add syntax highlighting to MarkDown code blocks
1 parent 779922f commit 8fc6729

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Also `have_constant`, `have_private_instance_method`, `have_singleton_method`, e
113113
}
114114
```
115115

116-
##### should_not raise_error
116+
##### `should_not raise_error`
117117

118-
**To avoid!** Instead, use an expectation testing what the code in the lambda does.
118+
**Avoid this!** Instead, use an expectation testing what the code in the lambda does.
119119
If an exception is raised, it will fail the example anyway.
120120

121121
```ruby

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ For *testing* the development version of a Ruby implementation, one should alway
4444
Also, this repository doesn't always contain the latest spec changes from MRI (it's synchronized monthly), and does not contain tags (specs marked as failing on that Ruby implementation).
4545
Running specs on a Ruby implementation can be done with:
4646

47-
```
47+
```console
4848
$ cd ruby_implementation/spec/ruby
4949
# Add ../ruby_implementation/bin in PATH, or pass -t /path/to/bin/ruby
5050
$ ../mspec/bin/mspec

0 commit comments

Comments
 (0)