Skip to content

Commit 8b0b2ac

Browse files
committed
fix github_repo_pull_request_count test
1 parent e9991f4 commit 8b0b2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/github_exporter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestGithubExporter(t *testing.T) {
4141
Assert(bodyContains(`github_rate_remaining 60`)).
4242
Assert(bodyContains(`github_rate_reset 1.566853865e+09`)).
4343
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`)).
44+
Assert(bodyContains(`github_repo_pull_request_count{repo="myRepo"} 3`)).
4545
Assert(bodyContains(`github_repo_open_issues{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 2`)).
4646
Assert(bodyContains(`github_repo_size_kb{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 946`)).
4747
Assert(bodyContains(`github_repo_stars{archived="false",fork="false",language="Go",license="mit",private="false",repo="myRepo",user="myOrg"} 120`)).

0 commit comments

Comments
 (0)