blob: ad30938a0e2576211ac8c9a0b0e0a14b2fb4f81c [file]
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('appBuildName matches the FLUTTER_BUILD_NAME environment declaration', () {
expect(
appBuildName,
const bool.hasEnvironment('FLUTTER_BUILD_NAME')
? const String.fromEnvironment('FLUTTER_BUILD_NAME')
: null,
);
});
test('appBuildNumber matches the FLUTTER_BUILD_NUMBER environment declaration', () {
expect(
appBuildNumber,
const bool.hasEnvironment('FLUTTER_BUILD_NUMBER')
? const String.fromEnvironment('FLUTTER_BUILD_NUMBER')
: null,
);
});
}