8000 add SQL test for #coderay/163 · rubychan/coderay-scanner-tests@6eaf616 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6eaf616

Browse files
committed
add SQL test for #coderay/163
1 parent f99621a commit 6eaf616

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

coderay_suite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def examples_test scanner, max
188188
@known_issue_description = @known_issue_ticket_url = nil
189189
name = File.basename(example_filename, ".#{extension}")
190190
next if ENV['lang'] && ENV['only'] && ![name, '*'].include?(ENV['only'])
191-
print '%22s'.cyan % name + ' '
191+
print '%23s'.cyan % name + ' '
192192
filesize = File.size(example_filename)
193193
amount = filesize
194194
human_filesize =
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
class(SELECT) keyword(RIGHT)operator(() ident(SUSER_NAME)operator(()operator(\))operator(,)ident(LEN)operator(() ident(SUSER_NAME)operator(()operator(\))operator(\))operator(-)ident(CHARINDEX)operator(()string<delimiter(')char(\\')content(, SUSER_NAME(\)\)\))>

sql/thegoatherder-issue-163.in.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT RIGHT( SUSER_NAME(),LEN( SUSER_NAME())-CHARINDEX('\', SUSER_NAME()))

0 commit comments

Comments
 (0)
0