anchor.diff:          };
         };
         exporterTest = ''
  -        waitForUnit("nginx.service");
  -        waitForOpenPort(80);
  -        waitForUnit("prometheus-surfboard-exporter.service");
  -        waitForOpenPort(9239);
  -        succeed("curl -sSf localhost:9239/metrics | grep -q 'surfboard_up 1'");
  +        wait_for_unit("nginx.service")
  +        wait_for_open_port(80)
  +        wait_for_unit("prometheus-surfboard-exporter.service")
  +        wait_for_open_port(9239)
  +        succeed("curl -sSf localhost:9239/metrics | grep -q 'surfboard_up 1'")
         '';
       };
   
  
positive.code:         enable = true;
        };
        exporterTest = ''
          waitForUnit("prometheus-fritzbox-exporter.service");
          waitForOpenPort(9133);
          succeed("curl -sSf http://localhost:9133/metrics | grep -q 'fritzbox_exporter_collect_errors 0'");
        '';
      };
  
  
negative.code:   } testConfig.metricProvider or {}];
  
    testScript = ''
      ${exporter}.start()
      ${concatStringsSep "\n" (map (line:
        if (builtins.substring 0 1 line == " " || builtins.substring 0 1 line == ")")
        then line
        else "${exporter}.${line}"
      ) (splitString "\n" (removeSuffix "\n" testConfig.exporterTest)))}
      ${exporter}.shutdown()
    '';
  
    meta = with maintainers; {
  