From 44dad79e5ab8bdcf875362cd840e0d5a60e7a303 Mon Sep 17 00:00:00 2001 From: MSilva95 Date: Thu, 7 Nov 2019 14:44:03 +0000 Subject: [PATCH 1/3] correction of strlen readme --- subjects/strlen.en.md | 5 ++--- subjects/strlen.fr.md | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/subjects/strlen.en.md b/subjects/strlen.en.md index b8511a47..c5b46b9d 100644 --- a/subjects/strlen.en.md +++ b/subjects/strlen.en.md @@ -2,7 +2,7 @@ ### Instructions -- Write a function that counts the characters of a `string` and that returns that count. +- Write a function that counts the runes of a `string` and that returns that count. ### Expected function @@ -21,12 +21,11 @@ package main import ( "fmt" - piscine ".." ) func main() { str := "Hello World!" - nb := piscine.StrLen(str) + nb := StrLen(str) fmt.Println(nb) } ``` diff --git a/subjects/strlen.fr.md b/subjects/strlen.fr.md index 421c2169..c3fc05a2 100644 --- a/subjects/strlen.fr.md +++ b/subjects/strlen.fr.md @@ -2,7 +2,7 @@ ### Instructions -- Écrire une fonction qui compte le nombre de caractères d'une `string` et qui retourne le nombre trouvé. +- Écrire une fonction qui compte le nombre de rune d'une `string` et qui retourne le nombre trouvé. ### Fonction attendue @@ -21,12 +21,11 @@ package main import ( "fmt" - piscine ".." ) func main() { str := "Hello World!" - nb := piscine.StrLen(str) + nb := StrLen(str) fmt.Println(nb) } ``` From 730c15dba3166be56f8dc17f04ec5c16b085013b Mon Sep 17 00:00:00 2001 From: augusto-mantilla Date: Thu, 7 Nov 2019 14:56:21 +0000 Subject: [PATCH 2/3] Update strlen.en.md --- subjects/strlen.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/strlen.en.md b/subjects/strlen.en.md index c5b46b9d..56b82ccc 100644 --- a/subjects/strlen.en.md +++ b/subjects/strlen.en.md @@ -2,7 +2,7 @@ ### Instructions -- Write a function that counts the runes of a `string` and that returns that count. +- Write a function that counts the `runes` of a `string` and that returns that count. ### Expected function From 3b82f548431c8916bcbf85bbffb09e8b773b46cc Mon Sep 17 00:00:00 2001 From: augusto-mantilla Date: Thu, 7 Nov 2019 14:57:45 +0000 Subject: [PATCH 3/3] Update strlen.fr.md --- subjects/strlen.fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/strlen.fr.md b/subjects/strlen.fr.md index c3fc05a2..fa6f0d77 100644 --- a/subjects/strlen.fr.md +++ b/subjects/strlen.fr.md @@ -2,7 +2,7 @@ ### Instructions -- Écrire une fonction qui compte le nombre de rune d'une `string` et qui retourne le nombre trouvé. +- Écrire une fonction qui compte le nombre de `runes` d'une `string` et qui retourne le nombre trouvé. ### Fonction attendue