diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2018-09-13 14:54:06 +1000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2018-09-13 14:54:06 +1000 |
commit | 58acc2b668e86946c58db4dd41d50edceb7218f9 (patch) | |
tree | 365e3f051c2527688f12fcb76ba71296b63d6f91 /lib | |
parent | 708e60c24d2eb9678e19838a550071c95c3c1a3a (diff) | |
download | gitlab-shell-58acc2b668e86946c58db4dd41d50edceb7218f9.tar.gz |
Make ordered expectations around results output
This also cleans up the output from the tests as previously, Base64 encoded output was printed.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action/custom.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/action/custom.rb b/lib/action/custom.rb index c781f00..2aea41a 100644 --- a/lib/action/custom.rb +++ b/lib/action/custom.rb @@ -90,8 +90,8 @@ module Action def print_flush(str) return false unless str - print(Base64.decode64(str)) - STDOUT.flush + $stdout.print(Base64.decode64(str)) + $stdout.flush end def validate! |