Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2cd9459

Browse filesBrowse files
committed
Merge branch 'master' of github.com:rubychan/coderay
2 parents 050259d + 4982353 commit 2cd9459
Copy full SHA for 2cd9459

File tree

2 files changed

+5
-3
lines changed
Filter options

2 files changed

+5
-3
lines changed

‎test/unit/debug.rb

Copy file name to clipboardExpand all lines: test/unit/debug.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def test_creation
2424
[" \n", :space],
2525
["[]", :method],
2626
[:end_line, :head],
27-
].flatten
27+
]
28+
TEST_INPUT.flatten!
2829
TEST_OUTPUT = <<-'DEBUG'.chomp
2930
integer(10)operator((\\\))string<content(test)>head[
3031

‎test/unit/statistic.rb

Copy file name to clipboardExpand all lines: test/unit/statistic.rb
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def test_creation
2424
[" \n", :space],
2525
["[]", :method],
2626
[:end_line, :test],
27-
].flatten
27+
]
28+
TEST_INPUT.flatten!
2829
TEST_OUTPUT = <<-'DEBUG'
2930
3031
Code Statistics
@@ -56,4 +57,4 @@ def test_filtering_text_tokens
5657
assert_equal TEST_OUTPUT, TEST_INPUT.statistic
5758
end
5859

59-
end
60+
end

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.