Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
maratori committed Feb 27, 2021
1 parent 5ba76e9 commit 8e32cc5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ No application is perfect from the beginning. With over a dozen coming articles,
- [docker](docker/) Dockerfiles
- [internal](internal/) application code
- [scripts](scripts/) deployment and development scripts
- [terraform](terraform/) - infrastructure defintion
- [terraform](terraform/) - infrastructure definition
- [web](web/) - frontend JavaScript code

### Live Demo
Expand Down
2 changes: 1 addition & 1 deletion internal/trainer/domain/hour/hour.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (f FactoryConfig) Validate() error {
}

type Factory struct {
// it's better to keep FactoryConfig as a private attributte,
// it's better to keep FactoryConfig as a private attribute,
// thanks to that we are always sure that our configuration is not changed in the not allowed way
fc FactoryConfig
}
Expand Down
4 changes: 2 additions & 2 deletions internal/trainings/domain/training/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestIsUserAllowedToSeeTraining(t *testing.T) {
ExpectedIsAllowed bool
}{
{
Name: "attendes_training",
Name: "attendees_training",
CreateTraining: func(t *testing.T) *training.Training {
tr, err := training.NewTraining(
uuid.New().String(),
Expand All @@ -43,7 +43,7 @@ func TestIsUserAllowedToSeeTraining(t *testing.T) {
ExpectedIsAllowed: true,
},
{
Name: "another_attendes_training",
Name: "another_attendees_training",
CreateTraining: func(t *testing.T) *training.Training {
tr, err := training.NewTraining(
uuid.New().String(),
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/ScheduleTraining.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
has a validation state that can be triggered by attempting to submit the form without completing it.</p>

<div class="alert alert-warning" role="alert" v-if="isPropose">
It's less than 24h left until the training. Proposition of re-shedule may be refused.
It's less than 24h left until the training. Proposition of re-schedule may be refused.
</div>

<div v-if="!isPropose">
Expand Down

0 comments on commit 8e32cc5

Please sign in to comment.