From 2ccdb49943fa6654e197b20ec2992bb9362975f7 Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Wed, 25 Apr 2018 02:18:33 -0300 Subject: [PATCH] remove duped unittests in Dumper --- source/dyaml/dumper.d | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/source/dyaml/dumper.d b/source/dyaml/dumper.d index 48af1d3..c3cf80d 100644 --- a/source/dyaml/dumper.d +++ b/source/dyaml/dumper.d @@ -38,38 +38,6 @@ import dyaml.tagdirective; */ struct Dumper { - @safe unittest - { - auto node = Node([1, 2, 3, 4, 5]); - Dumper(new YMemoryStream()).dump(node); - } - - @safe unittest - { - auto node1 = Node([1, 2, 3, 4, 5]); - auto node2 = Node("This document contains only one string"); - Dumper(new YMemoryStream()).dump(node1, node2); - } - - @safe unittest - { - //import std.stream; - auto stream = new YMemoryStream(); - auto node = Node([1, 2, 3, 4, 5]); - Dumper(stream).dump(node); - } - - @safe unittest - { - auto node = Node([1, 2, 3, 4, 5]); - auto representer = new Representer(); - auto resolver = new Resolver(); - auto dumper = Dumper(new YMemoryStream()); - dumper.representer = representer; - dumper.resolver = resolver; - dumper.dump(node); - } - private: //Resolver to resolve tags. Resolver resolver_;