From 33854c08cce2cff742c3641f2ef771a7fbc237d5 Mon Sep 17 00:00:00 2001 From: amin Date: Wed, 10 Jul 2024 15:19:57 +0100 Subject: [PATCH] docs: fix inconsistency between subject and test --- subjects/java/checkpoints/is-anagram/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subjects/java/checkpoints/is-anagram/README.md b/subjects/java/checkpoints/is-anagram/README.md index bd45d321f..317b4f389 100644 --- a/subjects/java/checkpoints/is-anagram/README.md +++ b/subjects/java/checkpoints/is-anagram/README.md @@ -24,10 +24,10 @@ public class ExerciseRunner { AnagramChecker checker = new AnagramChecker(); // Test cases - System.out.println(checker.isAnagram("listen", "silent")); // Expected output: true - System.out.println(checker.isAnagram("triangle", "integral")); // Expected output: true - System.out.println(checker.isAnagram("apple", "pale")); // Expected output: false - System.out.println(checker.isAnagram("Astronomer", "Moon starer")); // Expected output: true + System.out.println(checker.isAnagram("listen", "silent")); + System.out.println(checker.isAnagram("triangle", "integral")); + System.out.println(checker.isAnagram("apple", "pale")); + System.out.println(checker.isAnagram("Astronomer", "Moon starer")); } } ``` @@ -40,6 +40,6 @@ $ java -cp build ExerciseRunner true true false -true +false $ ```