mabdi / mabdi/smalltalk-SmallBank
Resolve mutants on 677fe6e
@harolato is already working on this.
Since Dec 9, 2021.
- Dominant language
- Smalltalk
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
```...NOTES HERE...```
[Open Mutant in Visualiser tool](http://127.0.0.1:8000/projects/3/jobs/7/files/10/mutant/60/)
```Replace #ifTrue:ifFalse: receiver with true in SmallBank2>>#withdraw:```
https://github.com/mabdi/smalltalk-SmallBank/blob/677fe6ef88a8e289cbdbbd0e41ffeadc44f07402/src/SmallBank/SmallBank2.class.st#L56
```diff
--- src/SmallBank/SmallBank2.class.st
+++ src/SmallBank/SmallBank2.class.st
@@ -46,15 +46,15 @@
balance := balance + amount
]
{ #category : #initialization }
SmallBank2 >> initialize [
balance := 0
]
{ #category : #accessing }
SmallBank2 >> withdraw: amount [
- balance >= amount
+ true
ifTrue: [ balance := balance - amount ]
ifFalse: [ Error new signal ]
]
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.