Be more informative when the signature has an invalid type

This commit is contained in:
Wilson Silva
2024-03-19 14:18:54 +00:00
parent 1ff9611051
commit 04574cc836
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ RSpec.describe Nostr::InvalidSignatureTypeError do
let(:error) { described_class.new }
it 'builds a useful error message' do
expect(error.message).to eq('Invalid signature type')
expect(error.message).to eq('Invalid signature type. It must be a string with lowercase hexadecimal characters.')
end
end
end