Skip to content

Commit 0691fe4

Browse files
authored
[Crystal]: Fix string interpolation (#80)
* Fix string interpolation not displaying * Fix tests
1 parent 9800e01 commit 0691fe4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/languages/crystal.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
!e
1+
!e stop_at_first_loc
22
#\p
33
require

test/languages/crystal_test.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TwoFer
4343

4444
expected = <<~CODE
4545
class TwoFer
46-
...
46+
...#And comments
4747
end
4848
CODE
4949

@@ -77,6 +77,7 @@ def count_words(text)
7777
7878
module
7979
def count_words(text)
80+
#This counts words
8081
WORDS[0]
8182
end
8283
end

0 commit comments

Comments
 (0)