summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-11-25 16:39:30 +0000
committerPaul Duffin <paulduffin@google.com>2020-11-25 17:02:32 +0000
commit0cc047ad5d0528de1da1bc7cc7a23bbf383ca445 (patch)
treef6b6b051f443ba3e4054e1a97c489970a19e2eb7 /rust/testing.go
parent65d5b7f0e9036191c5ec3de9090a20addf14e1ea (diff)
Improve TestGetDistForGoals debuggability
Previously, TestGetDistForGoals tested multiple test cases within a single test so when it failed it was difficult to determine which test case was the cause. This change runs each test case as its own nested test. It also corrects the order of expectedLine and line format parameters to match the order in the message. Test: m nothing Bug: 174226317 Change-Id: I1408ec4125afc5c0b392cd7643dd3f630fe468e5
Diffstat (limited to 'rust/testing.go')
0 files changed, 0 insertions, 0 deletions