production
This commit is contained in:
@@ -169,10 +169,13 @@ void main() {
|
||||
// the build flag still reaches it, and a profile that lies about the work
|
||||
// would be worse than one nobody uses.
|
||||
test('names the work Doormile, never the app it was ported from', () {
|
||||
// Exact equality, not a list of things it must not contain. The old
|
||||
// version spelled out the retired platform's name to forbid it, which
|
||||
// put the word back in the repo it was being banned from — and it was
|
||||
// the weaker assertion anyway: `== 'Doormile'` rules out every other
|
||||
// name at once, including ones nobody has thought of.
|
||||
const p = ServiceProfile.delivery;
|
||||
expect(p.label, 'Doormile');
|
||||
expect(p.label.toLowerCase(), isNot(contains('nearle')));
|
||||
expect(p.label.toLowerCase(), isNot(contains('xpress')));
|
||||
});
|
||||
|
||||
test('speaks in deliveries, not bookings', () {
|
||||
|
||||
Reference in New Issue
Block a user