Skip to content

Commit

Permalink
Update PhoneNumberExtensionsTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorPilley committed Nov 20, 2024
1 parent 517b44a commit 461b1af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public void NdcIsOptional_True_For_Geographic_Number_With_Local_Dialling_Allowed
[InlineData("IT", "+378882555", "0549882555")] // San Marino NonGeo with Italy NDC from Italy
[InlineData("IT", "+378693247", "00378693247")] // San Marino Mobile from Italy
[InlineData("IT", "+378598765", "00378598765")] // San Marino Mobile from Italy
[InlineData("CA", "+12124841200" "12124841200")] // US number from Canada

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (macos-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (macos-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (macos-latest)

Syntax error, ',' expected

Check failure on line 26 in test/PhoneNumbers.Tests/PhoneNumberExtensionsTests.cs

View workflow job for this annotation

GitHub Actions / Build (macos-latest)

Syntax error, ',' expected
public void NumberToDialFrom_CountryInfo(string sourceCountryCode, string destination, string expected) =>
Assert.Equal(
expected,
Expand Down Expand Up @@ -68,6 +69,8 @@ public void NumberToDialFrom_PhoneNumber_Throws_If_CountryInfo_Null()
[InlineData("+393492525255", "+378598765", "00378598765")] // Italy to San Marino IP
[InlineData("+12497121234", "+12494185634", "2494185634")] // Canada within NDC, local dilling permitted, NDC required
[InlineData("+18797121234", "+18794185634", "4185634")] // Canada within NDC, local dilling permitted, NDC not required
[InlineData("+19517121234", "+19514185634", "2494185634")] // US within NDC, local dilling permitted, NDC required
[InlineData("+15597121234", "+15594185634", "4185634")] // US within NDC, local dilling permitted, NDC not required
public void NumberToDialFrom_PhoneNumber(string source, string destination, string expected) =>
Assert.Equal(
expected,
Expand Down

0 comments on commit 461b1af

Please sign in to comment.