Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 9, 2024
1 parent 3899cf2 commit b0234ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions practice/exercism/003-party-robot/party_robot.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func Welcome(name string) string {

// HappyBirthday wishes happy birthday to the birthday person and exclaims their age.
func HappyBirthday(name string, age int) string {
return fmt.Sprintf("Happy birthday %s! You are now %d years old!", name, age)
return fmt.Sprintf("Happy birthday %s! You are now %d years old!", name, age)
}

// AssignTable assigns a table to each guest.
Expand All @@ -18,5 +18,5 @@ func AssignTable(name string, table int, neighbor, direction string, distance fl
line2 := fmt.Sprintf("You have been assigned to table %03d. Your table is %s, exactly %.1f meters from here.", table, direction, distance)
line3 := fmt.Sprintf("You will be sitting next to %s.", neighbor)

return line1 + "\n" + line2 + "\n" + line3
}
return line1 + "\n" + line2 + "\n" + line3
}
2 changes: 1 addition & 1 deletion practice/exercism/003-party-robot/party_robot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ want:
}
})
}
}
}

0 comments on commit b0234ac

Please sign in to comment.