ax(node): fix test name to follow TestFilename_Function_Good convention
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run

TestConvertMinerStats did not follow the AX Principle 10 test naming
convention (TestFilename_Function_{Good,Bad,Ugly}). Renamed to
TestWorker_ConvertMinerStats_Good to match the required pattern.

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 09:29:26 +01:00
parent a862480862
commit 017d386c6d
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -419,7 +419,7 @@ func TestWorker_HandleDeploy_UnknownType(t *testing.T) {
}
}
func TestConvertMinerStats(t *testing.T) {
func TestWorker_ConvertMinerStats_Good(t *testing.T) {
tests := []struct {
name string
rawStats interface{}