+
+ {
+ local $ENV{GRAPHQL_CLIENT_OPTIONS} = '--url asdf --query "baz qux" --unpack';
+ local $expected->{query} = 'baz qux';
+ local $expected->{unpack} = 1;
+ $r = GraphQL::Client::CLI->_get_options(qw{--url foo});
+ is_deeply($r, $expected, 'options can come from GRAPHQL_CLIENT_OPTIONS') or diag explain $r;
+ }