From 47c221f6f3bb2a8b39db7bb416cffb5b3398185c Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 6 Apr 2020 18:59:42 +0200 Subject: [PATCH] Fix typo in test names Fix the labels function being refered to as the label function in the test descriptions. --- test/lib/prometheus.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/lib/prometheus.js b/test/lib/prometheus.js index 9ea6fb3f..28da621b 100644 --- a/test/lib/prometheus.js +++ b/test/lib/prometheus.js @@ -312,7 +312,7 @@ describe("lib/prometheus", function() { }); }); describe(".remove()", function() { - it("should remove a label set created with .label()", function() { + it("should remove a label set created with .labels()", function() { let gauge = new prometheus.Gauge( 'test', "Help", { register: false, labels: ['a', 'b'] } ); @@ -328,7 +328,7 @@ describe("lib/prometheus", function() { }); }); describe(".removeAll()", function() { - it("should remove a label set created with .label()", function() { + it("should remove a label set created with .labels()", function() { let gauge = new prometheus.Gauge( 'test', "Help", { register: false, labels: ['a', 'b'] } ); @@ -358,7 +358,7 @@ describe("lib/prometheus", function() { }); }); describe(".clear()", function() { - it("should remove all label sets created with .label()", function() { + it("should remove all label sets created with .labels()", function() { let gauge = new prometheus.Gauge( 'test', "Help", { register: false, labels: ['a', 'b'] } );