From 5c2f1fd2e493686c037dd814eb6946962f0878ad Mon Sep 17 00:00:00 2001 From: bayashi Date: Sat, 12 Feb 2022 11:40:07 +0000 Subject: [PATCH] Improve test coverage --- t/01_basic.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/01_basic.t b/t/01_basic.t index 3266a9f..d407168 100644 --- a/t/01_basic.t +++ b/t/01_basic.t @@ -34,6 +34,9 @@ RAW: { t->got($uach->model_raw)->expected(q|"Pixel 2 XL"|)->is; t->got($uach->full_version_raw)->expected(q|"73.1.2343B.TR"|)->is; t->got($uach->full_version_list_raw)->expected(q|"Microsoft Edge"; v="92.0.902.73", "Chromium"; v="92.0.4515.131", "?Not:Your Browser"; v="3.1.2.0"|)->is; + + # get again (from cache) + t->got($uach->platform_raw)->expected(q|"Windows"|)->is; } { @@ -45,6 +48,9 @@ RAW: { t->got($uach->model)->expected(q|Pixel 2 XL|)->is; t->got($uach->full_version)->expected(q|73.1.2343B.TR|)->is; t->got($uach->full_version_list)->expected(q|"Microsoft Edge"; v="92.0.902.73", "Chromium"; v="92.0.4515.131", "?Not:Your Browser"; v="3.1.2.0"|)->is; + + # get again (from cache) + t->got($uach->platform)->expected(q|Windows|)->is; } ACCEPT_CH: {