From 726c035b7b7fac636982ac6e4c28e199d4c8cc8a Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 11 Oct 2017 15:46:48 +0200 Subject: style: more rubocop fixes --- test/functional/sample_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/sample_test.rb') diff --git a/test/functional/sample_test.rb b/test/functional/sample_test.rb index 412555e..1bfe8b5 100644 --- a/test/functional/sample_test.rb +++ b/test/functional/sample_test.rb @@ -32,7 +32,7 @@ class SampleTest < FunctionalTest # platform/#8674 handle nonexisting domains def test_nicknym_handles_missing_domain - assert_lookup_status 404, 'postmaster@now-dont-you-dare-register-this-domain.coop' + assert_lookup_status 404, 'postmaster@dont-you-dare-register-this.coop' end def test_no_file_descriptors_leak @@ -63,7 +63,7 @@ class SampleTest < FunctionalTest def run_command(command) `#{command} 2>&1`.tap do |out| - assert ($CHILD_STATUS.exitstatus == 0), + assert $CHILD_STATUS.exitstatus.zero?, "failed to run '#{command}':\n #{out}" end end -- cgit v1.2.3