Skip to content

Commit

Permalink
feat: add support for .fi (#116)
Browse files Browse the repository at this point in the history
* feat: Add support for .fi

* Fix indentation
  • Loading branch information
juhovan committed Dec 27, 2021
1 parent 4281783 commit 4a41d27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/whois/whois.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var (
"02/01/2006 15:04:05", // .im
"02.01.2006 15:04:05", // .rs
"02 Jan 2006", // .co.th
"2.1.2006 15:04:05", // .fi
}

// nolint: lll
Expand All @@ -64,6 +65,7 @@ var (
"Expiry date",
"Expiry",
"Expires On",
"expires\\.{12}",
"expires",
"Expires",
"expire",
Expand Down
1 change: 1 addition & 0 deletions internal/whois/whois_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func TestWhoisParsing(t *testing.T) {
{domain: "МВД.РФ", err: ""},
{domain: "GOOGLE.RS", err: ""},
{domain: "google.co.th", err: ""},
{domain: "google.fi", err: ""},
} {
tt := tt
t.Run(tt.domain, func(t *testing.T) {
Expand Down

0 comments on commit 4a41d27

Please sign in to comment.