From f169043d81524b5b529f2c1e9c35437ba5bc3a7a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 23 Apr 2019 13:14:27 +0900 Subject: Add pipeline operator [Feature #15799] --- test/ripper/test_scanner_events.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ripper') diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb index 339a66d5ec..323c4098e8 100644 --- a/test/ripper/test_scanner_events.rb +++ b/test/ripper/test_scanner_events.rb @@ -573,6 +573,8 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase scan('op', 'obj.:foo') assert_equal [], scan('op', %q[`make all`]) + assert_equal %w[|>], + scan('op', %q[x|>y]) end def test_symbeg -- cgit v1.2.3