Remove dead test code
This commit is contained in:
parent
dca87b2b66
commit
f9edf394af
@ -3,11 +3,5 @@ import 'package:test/test.dart';
|
|||||||
import 'package:flutter_circular_chart/flutter_circular_chart.dart';
|
import 'package:flutter_circular_chart/flutter_circular_chart.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
test('adds one to input values', () {
|
|
||||||
final calculator = new Calculator();
|
|
||||||
expect(calculator.addOne(2), 3);
|
|
||||||
expect(calculator.addOne(-7), -6);
|
|
||||||
expect(calculator.addOne(0), 1);
|
|
||||||
expect(() => calculator.addOne(null), throwsNoSuchMethodError);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user