diff options
author | Eric Wong <e@80x24.org> | 2022-01-21 07:53:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-01-21 20:29:57 +0000 |
commit | f7af7dff0f88dad216d90c4f4c32893ea5f31b9a (patch) | |
tree | 4f946ca30bb6ca570fe9032279cec8e23ff5a03f /test | |
parent | 7243de1955b30b2b83fb0242d2dc5112f2c8055d (diff) | |
download | dtas-f7af7dff0f88dad216d90c4f4c32893ea5f31b9a.tar.gz |
We use DTAS.yaml_load to wrap all YAML.*load calls, but we still need "require 'yaml'" for various .to_yaml calls.
Diffstat (limited to 'test')
-rw-r--r-- | test/player_integration.rb | 3 | ||||
-rw-r--r-- | test/test_encoding.rb | 1 | ||||
-rw-r--r-- | test/test_splitfx.rb | 1 | ||||
-rw-r--r-- | test/test_tfx.rb | 1 |
4 files changed, 1 insertions, 5 deletions
diff --git a/test/player_integration.rb b/test/player_integration.rb index 4ad0e0c..66d1c6e 100644 --- a/test/player_integration.rb +++ b/test/player_integration.rb @@ -1,11 +1,10 @@ -# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org> +# Copyright (C) all contributors <dtas-all@nongnu.org> # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt> # frozen_string_literal: true require './test/helper' require 'dtas/player' require 'dtas/state_file' require 'dtas/unix_client' -require 'yaml' require 'tempfile' require 'shellwords' require 'timeout' diff --git a/test/test_encoding.rb b/test/test_encoding.rb index 666d185..5cd5da7 100644 --- a/test/test_encoding.rb +++ b/test/test_encoding.rb @@ -3,7 +3,6 @@ # frozen_string_literal: true require './test/helper' require 'dtas' -require 'yaml' class TestEncoding < Testcase def test_encoding diff --git a/test/test_splitfx.rb b/test/test_splitfx.rb index e3bd19d..f2e0e09 100644 --- a/test/test_splitfx.rb +++ b/test/test_splitfx.rb @@ -1,7 +1,6 @@ # Copyright (C) all contributors <dtas-all@nongnu.org> # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt> # frozen_string_literal: true -require 'yaml' require 'dtas/splitfx' require 'thread' require_relative 'helper' diff --git a/test/test_tfx.rb b/test/test_tfx.rb index 51b1900..be68079 100644 --- a/test/test_tfx.rb +++ b/test/test_tfx.rb @@ -4,7 +4,6 @@ require './test/helper' require 'dtas/tfx' require 'dtas/format' -require 'yaml' class TestTFX < Testcase def rate |