Skip to content

Commit d0c931c

Browse files
committed
fix(ruby): update ruby test snapshots
1 parent d01b2c3 commit d0c931c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tests/__snapshots__/fixtures.spec.ts.snap

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,14 +400,18 @@ const tagTest = pug\`
400400
exports[`ruby > basic.js 1`] = `
401401
"// Ruby - Tag \`ruby\` test (with formatting issues)
402402
const tagTest = ruby\`
403-
def greet(name) puts "Hello, #{name}" end
404-
class User;attr_accessor :name;end
403+
def greet(name)
404+
puts "Hello, #{name}"
405+
end
406+
class User
407+
attr_accessor :name
408+
end
405409
\`;
406410
407411
// Ruby - Comment \`/* ruby */\` test (with formatting issues)
408-
const tagTest2 = /* ruby */ \`
409-
def add(a,b) a+b end
410-
\`;
412+
const tagTest2 = /* ruby */ \` def add(a, b)
413+
a + b
414+
end \`;
411415
"
412416
`;
413417

0 commit comments

Comments
 (0)