test/tc_read_dir.rb in ucf-1.1.0 vs test/tc_read_dir.rb in ucf-2.0.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (c) 2014 The University of Manchester, UK.
+# Copyright (c) 2014, 2015 The University of Manchester, UK.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -39,18 +39,18 @@
def test_verify_empty_directory
assert_raise(ZipContainer::MalformedContainerError) do
UCF::Dir.verify!($dir_null)
end
- refute(UCF::Dir.verify($dir_null))
+ refute(UCF::Dir.verify?($dir_null))
end
# Check that the empty container directory does verify.
def test_verify_empty_container
assert_nothing_raised(ZipContainer::MalformedContainerError) do
UCF::Dir.verify!($dir_empty)
end
- assert(UCF::Dir.verify($dir_empty))
+ assert(UCF::Dir.verify?($dir_empty))
end
end