Skip to content

Commit

Permalink
コピペよくない
Browse files Browse the repository at this point in the history
  • Loading branch information
844196 committed Oct 7, 2015
1 parent 5af9636 commit d5d28fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_encode.rb
Expand Up @@ -63,9 +63,9 @@ class EncodeTest < Test::Unit::TestCase
end

test 'String以外のオブジェクトを引数に指定' do |obj|
assert_raise(TypeError) { NCipher::decode(obj, seed: 'にゃんぱす', delimiter: '〜') }
assert_raise(TypeError) { NCipher::decode('にゃんぱす', seed: obj, delimiter: '〜') }
assert_raise(TypeError) { NCipher::decode('にゃんぱす', seed: 'にゃんぱす', delimiter: obj) }
assert_raise(TypeError) { NCipher::encode(obj, seed: 'にゃんぱす', delimiter: '〜') }
assert_raise(TypeError) { NCipher::encode('にゃんぱす', seed: obj, delimiter: '〜') }
assert_raise(TypeError) { NCipher::encode('にゃんぱす', seed: 'にゃんぱす', delimiter: obj) }
end
end
end
Expand Down

0 comments on commit d5d28fb

Please sign in to comment.