Skip to content

Add type constraints for Map and Array fields (#43) #32

Add type constraints for Map and Array fields (#43)

Add type constraints for Map and Array fields (#43) #32

GitHub Actions / Unit Test Results succeeded Nov 13, 2023 in 0s

All 71 tests pass in 24s

71 tests  +2   71 ✔️ +2   24s ⏱️ ±0s
10 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit bcc267c. ± Comparison against earlier commit e0a61b2.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

71 tests found

There are 71 tests, see "Raw output" for the full list of tests.
Raw output
github.com/mattermost/logr/v2 ‑ TestCustomLevel
github.com/mattermost/logr/v2 ‑ TestFieldArray
github.com/mattermost/logr/v2 ‑ TestFieldForAny
github.com/mattermost/logr/v2 ‑ TestFieldForAny/StringType
github.com/mattermost/logr/v2 ‑ TestFieldForAny/String_pointer
github.com/mattermost/logr/v2 ‑ TestFieldForAny/String_pointer_with_nil
github.com/mattermost/logr/v2 ‑ TestFieldForAny/StringerType
github.com/mattermost/logr/v2 ‑ TestFieldMap
github.com/mattermost/logr/v2 ‑ TestField_ValueString
github.com/mattermost/logr/v2 ‑ TestField_ValueString/StringType
github.com/mattermost/logr/v2 ‑ TestField_ValueString/StringerType
github.com/mattermost/logr/v2 ‑ TestField_ValueString/StringerType_with_nil
github.com/mattermost/logr/v2 ‑ TestFlush
github.com/mattermost/logr/v2 ‑ TestFlushAfterShutdown
github.com/mattermost/logr/v2 ‑ TestGetLogrPackageName
github.com/mattermost/logr/v2 ‑ TestGetPackageName
github.com/mattermost/logr/v2 ‑ TestLevelIDTooLarge
github.com/mattermost/logr/v2 ‑ TestLimitLogFields
github.com/mattermost/logr/v2 ‑ TestLogAfterShutdown
github.com/mattermost/logr/v2 ‑ TestLogr_SetMetricsCollector
github.com/mattermost/logr/v2 ‑ TestLogr_SetMetricsCollector/adding_metrics_should_pass
github.com/mattermost/logr/v2 ‑ TestLogr_SetMetricsCollector/adding_nil_metrics_should_fail
github.com/mattermost/logr/v2 ‑ TestLogr_SetMetricsCollector/metrics_with_failing_target
github.com/mattermost/logr/v2 ‑ TestLogr_SetMetricsCollector/metrics_with_multiple_targets
github.com/mattermost/logr/v2 ‑ TestNewStdLogger
github.com/mattermost/logr/v2 ‑ TestRedirectStdLog
github.com/mattermost/logr/v2 ‑ TestRemoveTarget
github.com/mattermost/logr/v2 ‑ TestSugarLogger
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/dangling_key
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/empty
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/invalid_key
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/nil_args
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/one_arg
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/one_arg_invalid
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/one_pair
github.com/mattermost/logr/v2 ‑ TestSugar_argsToFields/two_pair
github.com/mattermost/logr/v2/config ‑ TestConfigureCustomTarget
github.com/mattermost/logr/v2/config ‑ TestConfigureTargets
github.com/mattermost/logr/v2/formatters ‑ TestGetPackageName
github.com/mattermost/logr/v2/formatters ‑ TestJSON
github.com/mattermost/logr/v2/formatters ‑ TestJSON/reverse_sorted,_three_fields
github.com/mattermost/logr/v2/formatters ‑ TestJSON/reverse_sorted,_three_fields,_grouped
github.com/mattermost/logr/v2/formatters ‑ TestJSON/sorted,_one_field
github.com/mattermost/logr/v2/formatters ‑ TestJSON/sorted,_three_fields
github.com/mattermost/logr/v2/formatters ‑ TestJSON/sorted,_three_fields,_grouped
github.com/mattermost/logr/v2/formatters ‑ TestJSON/sorted,_three_fields,_grouped,_with_caller
github.com/mattermost/logr/v2/formatters ‑ TestJSON/sorted,_zero_fields
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes/array_type
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes/basic_types
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes/map_type
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes/struct_types
github.com/mattermost/logr/v2/formatters ‑ TestJSONFieldTypes/time_types
github.com/mattermost/logr/v2/formatters ‑ TestPlain
github.com/mattermost/logr/v2/formatters ‑ TestPlainColorCustom
github.com/mattermost/logr/v2/formatters ‑ TestPlainColorStd
github.com/mattermost/logr/v2/targets ‑ TestCreateTestLogger
github.com/mattermost/logr/v2/targets ‑ TestFileJSON
github.com/mattermost/logr/v2/targets ‑ TestFilePlain
github.com/mattermost/logr/v2/targets ‑ TestGetPackageName
github.com/mattermost/logr/v2/targets ‑ TestNewTcpTarget
github.com/mattermost/logr/v2/targets ‑ TestNewTcpTarget/TCP_logging
github.com/mattermost/logr/v2/targets ‑ TestSyslogPlain
github.com/mattermost/logr/v2/targets ‑ TestWriterJSON
github.com/mattermost/logr/v2/targets ‑ TestWriterPlain
github.com/mattermost/logr/v2/targets ‑ Test_getCertPool
github.com/mattermost/logr/v2/targets ‑ Test_getCertPool/garbage_in,_garbage_out
github.com/mattermost/logr/v2/targets ‑ Test_getCertPool/good_cert_base64
github.com/mattermost/logr/v2/targets ‑ Test_getCertPool/good_cert_file
github.com/mattermost/logr/v2/test/cmd/shutdown ‑ TestShutdown_NoTargetsAdded