From: Jeff Ober Date: Fri, 10 Jan 2020 20:52:29 +0000 (-0500) Subject: Remove to-toml test script while I try to decide if that suite is too arbitrary to... X-Git-Tag: nailing-cargo/1.0.0~234^2~50 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=211023f4acff106cf0a564e9650664a54cac375d;p=nailing-cargo.git Remove to-toml test script while I try to decide if that suite is too arbitrary to worry about --- diff --git a/test-bin/to-toml b/test-bin/to-toml deleted file mode 100755 index dd9b8a0..0000000 --- a/test-bin/to-toml +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; -use v5.14; -use lib './lib'; - -use TOML::Tiny qw(to_toml); -use JSON::PP qw(decode_json); - -my $json = do{ local $/; }; -my $data = decode_json $json; -my $toml = eval{ to_toml $data }; - -if ($@) { - warn $@; - exit 1; -} - -say $toml; -exit 0;