RED: Test exposing empty string bug

- Test expects empty string to return 0
- Currently returns 1 instead
- Expected: <0>, Actual: <1>
This commit is contained in:
fiatcode 2026-02-18 12:56:05 +07:00
parent 279c381872
commit e38bac9441

View file

@ -9,6 +9,8 @@ void main() {
calculator = StringCalculator();
});
// Tests will be added as we hunt bugs
test('empty string returns 0', () {
expect(calculator.add(''), equals(0));
});
});
}