forked from rouge-ruby/rouge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.log
More file actions
145 lines (137 loc) · 25.3 KB
/
tests.log
File metadata and controls
145 lines (137 loc) · 25.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
============
Run `rackup` and visit localhost:9292/:lexer_name to visually test a lexer.
============
Run options: --seed 2508
# Running:
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 6.011604s, 139.7298 runs/s, 299.7536 assertions/s.
840 runs, 1802 assertions, 0 failures, 0 errors, 0 skips
Running RuboCop...
Inspecting 417 files
................................................................................................................................W................................................................................................................................................................................................................................................................................................
Offenses:
lib/rouge/lexers/msdl.rb:56:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule // do
^
lib/rouge/lexers/msdl.rb:79:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(?<=^|\n)\h*\$.*?[.[^.]]*?\$end/, Comment::Preproc #should be multiline?
^
lib/rouge/lexers/msdl.rb:80:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(?<=^|\n)\h*\$.*/, Comment::Preproc
^
lib/rouge/lexers/msdl.rb:83:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(\#)/ do
^
lib/rouge/lexers/msdl.rb:88:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(")/ do
^
lib/rouge/lexers/msdl.rb:118:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(#{floatLiteral}|#{decimalLiteral})([a-zA-Z&&[^e]])([a-zA-Z]*)/, Num
^
lib/rouge/lexers/msdl.rb:119:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(#{floatLiteral})/, Num::Float
^
lib/rouge/lexers/msdl.rb:120:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /#{decimalLiteral}/, Num::Integer
^
lib/rouge/lexers/msdl.rb:122:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\(/ do
^
lib/rouge/lexers/msdl.rb:131:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /COMPILER_SKIP_FILE.*/m, Comment::Special, :pop!
^
lib/rouge/lexers/msdl.rb:132:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /COMPILER_IGNORE_BEGIN.*#COMPILER_IGNORE_END/m, Comment::Special, :pop!
^
lib/rouge/lexers/msdl.rb:133:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /.*(?=\n)/, Comment::Single, :pop!
^
lib/rouge/lexers/msdl.rb:137:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\\./, Str::Escape
^
lib/rouge/lexers/msdl.rb:138:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\"/, Str, :pop!
^
lib/rouge/lexers/msdl.rb:139:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(\$\()/ do
^
lib/rouge/lexers/msdl.rb:143:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /[^\\\n\"\$]+/, Str
^
lib/rouge/lexers/msdl.rb:144:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\$/, Str
^
lib/rouge/lexers/msdl.rb:151:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(\()/ do
^
lib/rouge/lexers/msdl.rb:155:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\)/, Punctuation, :pop!
^
lib/rouge/lexers/msdl.rb:173:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(#{floatLiteral}|#{decimalLiteral})([a-zA-Z&&[^e]])([a-zA-Z]*)/, Num
^
lib/rouge/lexers/msdl.rb:174:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(#{floatLiteral})/, Num::Float
^
lib/rouge/lexers/msdl.rb:175:7: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /#{decimalLiteral}/, Num::Integer
^
lib/rouge/lexers/msdl.rb:180:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /#{identifier}(?=\:)/ do |m|
^
lib/rouge/lexers/msdl.rb:183:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\:/, Punctuation
^
lib/rouge/lexers/msdl.rb:276:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /((?: *\n)+)( *)(#{identifier})\:( *)(#{identifier})(?=\()/ do |m|
^
lib/rouge/lexers/msdl.rb:290:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /((?: *\n)+)( *)(#{identifier})(?=\()/ do |m|
^
lib/rouge/lexers/msdl.rb:297:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /((?: *\n)+)( *)(#{identifier})\:( *)(#{identifier})\./ do |m|
^
lib/rouge/lexers/msdl.rb:313:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /((?: *\n)+)( *)(#{identifier})\./ do |m|
^
lib/rouge/lexers/msdl.rb:322:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /list +of/, Keyword
^
lib/rouge/lexers/msdl.rb:335:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /#{identifier}(?=\.)/ do |m|
^
lib/rouge/lexers/msdl.rb:353:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\n+/ do
^
lib/rouge/lexers/msdl.rb:360:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /((?: *\n)+)( *)(?![\s\#])/ do |m|
^
lib/rouge/lexers/msdl.rb:365:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /(?: *\n)+ *(?=\#)/, Text::Whitespace
^
lib/rouge/lexers/msdl.rb:386:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /#{identifier}(?=\.)/ do |m|
^
lib/rouge/lexers/msdl.rb:402:9: W: Lint/BlockAlignment: end at 402, 8 is not aligned with rule %r/\./ do at 399, 1.
end
^^^
lib/rouge/lexers/msdl.rb:411:9: W: Lint/BlockAlignment: end at 411, 8 is not aligned with rule %r/:/ do at 403, 1.
end
^^^
lib/rouge/lexers/msdl.rb:415:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\)/, Punctuation, :pop!
^
lib/rouge/lexers/msdl.rb:421:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\)/, Punctuation, :pop!
^
lib/rouge/lexers/msdl.rb:428:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\)/ do
^
lib/rouge/lexers/msdl.rb:433:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\(/ do
^
lib/rouge/lexers/msdl.rb:449:14: W: Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
rule /\#/ do
^
417 files inspected, 41 offenses detected