aboutsummaryrefslogtreecommitdiff
path: root/pkg/airports/iata_test.go
diff options
context:
space:
mode:
authorleshe4ka46 <alex9102naid1@ya.ru>2025-10-27 20:36:28 +0300
committerleshe4ka46 <alex9102naid1@ya.ru>2025-10-28 13:42:21 +0300
commitbb833561aa74f02970aee13cdc75973b29716491 (patch)
tree0914668e11dbf825979f7419ce1bc78294cd3f7f /pkg/airports/iata_test.go
parente17a425dfb3382310fb5863f516dacdca9f44956 (diff)
# This is a combination of 2 commits.
# This is the 1st commit message: unmarshal all formats, merge them in the single table, users are truly unique # This is the commit message #2: i
Diffstat (limited to 'pkg/airports/iata_test.go')
-rw-r--r--pkg/airports/iata_test.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/airports/iata_test.go b/pkg/airports/iata_test.go
new file mode 100644
index 0000000..f9c0fba
--- /dev/null
+++ b/pkg/airports/iata_test.go
@@ -0,0 +1,16 @@
+package airports_test
+
+import (
+ "testing"
+
+ "airlines/pkg/airports"
+)
+
+func TeatMain(t *testing.T) {
+ v, err := airports.LookupIATA("REA")
+ if err != nil {
+ t.Error("error:", err)
+ return
+ }
+ t.Logf("IATA JSJ info: %+v\n", v)
+}