ADD IBAN FIELD TO STRUCTS AND UPDATE PARSING LOGIC
- Added `iban` field to the `IbanEx.Iban` struct to hold the full IBAN value. - Updated the parsing logic to populate the new field. - Adjusted BBAN rules and tests for France and Brazil to reflect updated structures. - Improved error handling and format validation routines.
This commit is contained in:
@@ -67,9 +67,9 @@ test "returns false for unsupported country code" do
|
||||
|
||||
test "returns false for invalid characters in BBAN" do
|
||||
# Cyrillic character
|
||||
refute TestData.valid?("DE89370400440532013Ї00")
|
||||
# CInvalcdchara in shorerst
|
||||
refute TestData.valid?("NO938601111794Ї")
|
||||
refute TestData.valid?("DE89370400440532013Ї00")
|
||||
# CInvalcdchara in shorerst
|
||||
refute TestData.valid?("NO938601111794Ї")
|
||||
end
|
||||
|
||||
test "returns false for lowercase country code" do
|
||||
|
||||
Reference in New Issue
Block a user