1use strict;
2use warnings;
3use lib 't/lib/';
4use Test::More 0.88;
5use SubtestCompat;
6use TestUtils;
7use TestBridge;
8
9use CPAN::Meta::YAML ();
10
11#--------------------------------------------------------------------------#
12# Generally, write_string can be tested with .tml files in t/tml-local/*
13#
14# This file is for error tests or conditions that can't be easily tested
15# via .tml
16#--------------------------------------------------------------------------#
17
18subtest 'write_string as class method' => sub {
19    my $got = eval { CPAN::Meta::YAML->write_string };
20    is( $@, '', "write_string lives" );
21    is( $got, '', "returns empty string" );
22};
23
24done_testing;
25