1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-07-28 22:41:57 +03:00

Run gofumports in the project

This commit is contained in:
Luca Comellini
2021-06-22 17:38:59 -07:00
parent 526178659d
commit ee84be3e5a
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import "testing"
const validStabStats = "Active connections: 1457 \nserver accepts handled requests\n 6717066 6717066 65844359 \nReading: 1 Writing: 8 Waiting: 1448 \n"
func TestParseStubStatsValidInput(t *testing.T) {
var tests = []struct {
tests := []struct {
input []byte
expectedResult StubStats
expectedError bool