Skip to content

Commit a89420d

Browse files
Add test for whereami command alias
1 parent 14c8a54 commit a89420d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/console/whereami_test.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ def test_whereami_displays_current_frames_code
4545
assert_no_line_text(/b = 1/)
4646
assert_line_text(/=> 1\| a = 1/)
4747

48+
type "@"
49+
50+
# with @, we should see same output as whereami (above)
51+
assert_no_line_text(/b = 1/)
52+
assert_line_text(/=> 1\| a = 1/)
53+
4854
type "list"
4955

5056
# list command should work as normal after whereami is executed

0 commit comments

Comments
 (0)