summary refs log tree commit diff
path: root/pkgs/pkgs-lib
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-07-27 18:55:56 +0200
committerGitHub <noreply@github.com>2023-07-27 18:55:56 +0200
commit1cdde769c8a88dffb025330d057c1d666dae133e (patch)
tree08d0042c1e0acf02b38fcb576f29ca029d61f3bb /pkgs/pkgs-lib
parent6774f3fc04adfd6245a84f02cd0c7ed1af02c89b (diff)
Revert "pkgs.formats.toml: fix TOML semantics by upgrading tomlkit"
Diffstat (limited to 'pkgs/pkgs-lib')
-rw-r--r--pkgs/pkgs-lib/tests/formats.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/pkgs/pkgs-lib/tests/formats.nix b/pkgs/pkgs-lib/tests/formats.nix
index b7e958565ca68..80df247f7b6af 100644
--- a/pkgs/pkgs-lib/tests/formats.nix
+++ b/pkgs/pkgs-lib/tests/formats.nix
@@ -219,35 +219,6 @@ in runBuildTests {
     '';
   };
 
-  # see https://github.com/NixOS/nixpkgs/issues/237521 for this particular test
-  testTomlSemantics = {
-    drv = evalFormat formats.toml {} {
-      processors = {
-        override = [
-          { tags = { cluster = "staging"; }; }
-        ];
-        rename = [
-          {
-            replace = [
-              { dest = "ceph_telegraf_check"; measurement = "exec"; }
-            ];
-          }
-        ];
-      };
-    };
-    expected = ''
-      [processors]
-      [[processors.override]]
-      [processors.override.tags]
-      cluster = "staging"
-
-      [[processors.rename]]
-      [[processors.rename.replace]]
-      dest = "ceph_telegraf_check"
-      measurement = "exec"
-    '';
-  };
-
   # This test is responsible for
   #   1. testing type coercions
   #   2. providing a more readable example test