Skip to content

Commit

Permalink
chore: add comments explaining if exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-Melo0 authored and mauricioabreu committed Apr 3, 2024
1 parent 13d8414 commit b3890a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/if/if2/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ package main_test
import "testing"

func fooIfFizz(fizzish string) string {
// When the input is fizz return foo
// When the input is fuzz return bar
// When the input is neither fizz or fuzz return baz
if fizzish == "fizz" {
return "foo"
} else {
Expand Down

0 comments on commit b3890a1

Please sign in to comment.