Skip to content

Commit

Permalink
Add multi-line examples for IRB lexer (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
tancnle committed Jun 13, 2023
1 parent a5c5f1b commit b81fb3b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions spec/visual/samples/irb
@@ -1,11 +1,11 @@
irb(main):001:0> puts <<XYZ
irb(main):001:0" puts <<XYZ
irb(main):002:0" a
irb(main):003:0" b
irb(main):004:0" XYZ
irb(main):004:0> XYZ
a
b
=> nil
irb(main):005:0>
irb(main):005:0>



Expand Down Expand Up @@ -36,3 +36,16 @@ RuntimeError: hello
from (pry):5:in `__pry__'
[6] pry(main)> puts 'hello'
hello
=> nil

>> puts "Oh, hai!"
Oh, hai!
=> nil

"> puts <<XYZ
"> a
"> b
>> XYZ
a
b
=> nil

0 comments on commit b81fb3b

Please sign in to comment.