scorecard/finding
Spencer Schrock ba4fb1b94b
⚠️ Switch Outcome type to string (#4006)
* convert outcome constants to strings

Originally, these were introduced as ints to enable ordering between them.
Today, I don't see the value in doing that, and it makes the output less readable.

Signed-off-by: Spencer Schrock <sschrock@google.com>

* explicitly mention negative outcome for some tests

previously, OutcomeNegative had the integer value of 0. So some tests
didnt specify the outcome and happened to pass due to the zero value.
This also fixes the tests names while I was here.

Signed-off-by: Spencer Schrock <sschrock@google.com>

* match expected probe output with new string values

this change demonstrates the reason for this PR.
Human readable outcomes are good!

Signed-off-by: Spencer Schrock <sschrock@google.com>

---------

Signed-off-by: Spencer Schrock <sschrock@google.com>
2024-04-08 16:31:39 +00:00
..
probe Add probe metadata about supported ecosystems (#3797) 2024-02-08 10:20:07 -08:00
testdata [experimental] Create probes within findings (#2919) 2023-05-03 00:42:32 +00:00
finding_test.go 🌱 Fixed field alignment (#3799) 2024-01-17 19:10:33 +00:00
finding.go ⚠️ Switch Outcome type to string (#4006) 2024-04-08 16:31:39 +00:00