Skip to content

Commit

Permalink
Merge pull request #2 from bayashi/improve-test-coverage
Browse files Browse the repository at this point in the history
Improve test coverage
  • Loading branch information
bayashi committed Feb 12, 2022
2 parents 7acdd6a + 5c2f1fd commit f2e132b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/01_basic.t
Expand Up @@ -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;
}

{
Expand All @@ -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: {
Expand Down

0 comments on commit f2e132b

Please sign in to comment.