Skip to content

Commit

Permalink
comment for remaining colors
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Nov 26, 2023
1 parent 16a05aa commit c6b8a65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/resistor-color/resistor_color.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ func ColorCode(color string) int {
return 9
case "orange":
return 3
// the remaining colors aren't tested by the existing test cases.
// https://github.com/exercism/go/issues/2731
default:
panic("color not supported")
}
Expand Down

0 comments on commit c6b8a65

Please sign in to comment.