···219 '';
220 };
221222- # see https://github.com/NixOS/nixpkgs/issues/237521 for this particular test
223- testTomlSemantics = {
224- drv = evalFormat formats.toml {} {
225- processors = {
226- override = [
227- { tags = { cluster = "staging"; }; }
228- ];
229- rename = [
230- {
231- replace = [
232- { dest = "ceph_telegraf_check"; measurement = "exec"; }
233- ];
234- }
235- ];
236- };
237- };
238- expected = ''
239- [processors]
240- [[processors.override]]
241- [processors.override.tags]
242- cluster = "staging"
243-244- [[processors.rename]]
245- [[processors.rename.replace]]
246- dest = "ceph_telegraf_check"
247- measurement = "exec"
248- '';
249- };
250-251 # This test is responsible for
252 # 1. testing type coercions
253 # 2. providing a more readable example test
···219 '';
220 };
22100000000000000000000000000000222 # This test is responsible for
223 # 1. testing type coercions
224 # 2. providing a more readable example test