We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9991f4 commit 8b0b2acCopy full SHA for 8b0b2ac
1 file changed
test/github_exporter_test.go
@@ -41,7 +41,7 @@ func TestGithubExporter(t *testing.T) {
41
Assert(bodyContains(`github_rate_remaining 60`)).
42
Assert(bodyContains(`github_rate_reset 1.566853865e+09`)).
43
Assert(bodyContains(`github_repo_forks{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 10`)).
44
- Assert(bodyContains(`github_repo_pull_request_count 3`)).
+ Assert(bodyContains(`github_repo_pull_request_count{repo="myRepo"} 3`)).
45
Assert(bodyContains(`github_repo_open_issues{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 2`)).
46
Assert(bodyContains(`github_repo_size_kb{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 946`)).
47
Assert(bodyContains(`github_repo_stars{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 120`)).
0 commit comments