Commit ea1fcec0 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files


parent a177306e
......@@ -43,7 +43,7 @@ is($struct_string,
q!{"foo" => "bar","latin" => {"atrium" => "foo bar","lorem" => {"ipsum" => "dolor"}}}!,
'correct depth');
my $destructure = destringify $structure;
my $destructure = destringify $struct_string;
ok($destructure, 'recreated a hash');
isa_ok($destructure, 'HASH'); ## really is a hash
is($destructure->{'foo'}, 'bar', 'foo value correct');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment