From de871b3d37f5022d20b688996c0b8c6051a46812 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Thu, 12 Dec 2024 19:04:03 +0700 Subject: [PATCH] [test] Move test file for Windows IoT --- test/data/ua/os/windows-iot.json | 11 +++++++++++ test/data/ua/os/windows.json | 9 --------- 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 test/data/ua/os/windows-iot.json diff --git a/test/data/ua/os/windows-iot.json b/test/data/ua/os/windows-iot.json new file mode 100644 index 0000000..ff1d02c --- /dev/null +++ b/test/data/ua/os/windows-iot.json @@ -0,0 +1,11 @@ +[ + { + "desc" : "Windows IoT", + "ua" : "Mozilla/5.0 (Windows IoT 10.0; Android 6.0.1; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Mobile Safari/537.36 Edge/18.17763", + "expect" : + { + "name" : "Windows IoT", + "version" : "10.0" + } + } +] \ No newline at end of file diff --git a/test/data/ua/os/windows.json b/test/data/ua/os/windows.json index 7e12282..39e9541 100644 --- a/test/data/ua/os/windows.json +++ b/test/data/ua/os/windows.json @@ -116,15 +116,6 @@ "version" : "CE" } }, - { - "desc" : "Windows IoT", - "ua" : "Mozilla/5.0 (Windows IoT 10.0; Android 6.0.1; WebView/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Mobile Safari/537.36 Edge/18.17763", - "expect" : - { - "name" : "Windows IoT", - "version" : "10.0" - } - }, { "desc" : "Windows NT on x86 or aarch64 CPU using Firefox", "ua" : "Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0",