diff --git a/subjects/issorted.en.md b/subjects/issorted.en.md index 5970788a8..97e5a23d3 100644 --- a/subjects/issorted.en.md +++ b/subjects/issorted.en.md @@ -12,7 +12,7 @@ To do your testing you have to write your own `f` function. ### Expected function ```go -func IsSorted(f func(a, b int) int, tab []int) int { +func IsSorted(f func(a, b int) int, tab []int) bool { } ``` diff --git a/subjects/issorted.fr.md b/subjects/issorted.fr.md index 6c6471c21..031a8b294 100644 --- a/subjects/issorted.fr.md +++ b/subjects/issorted.fr.md @@ -11,7 +11,7 @@ Pour faire vos tests, vous devez coder votre propre fonction `f`. ### Fonction attendue ```go -func IsSorted(f func(a, b int) int, tab []int) int { +func IsSorted(f func(a, b int) int, tab []int) bool { } ```