| // Copyright 2020 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // TODO(https://fxbug.dev/84961): Fix null safety and remove this language version. |
| // @dart=2.9 |
| |
| import 'package:test/test.dart'; |
| // CODELAB: uncomment. |
| //import 'package:inspect_dart_codelab_part_1_lib/reverser.dart'; |
| |
| void main() { |
| test('reverser', () async { |
| // CODELAB: Test the response from the reverser. |
| // final reverser = ReverserImpl(); |
| // final result = await reverser.reverse('hello'); |
| // expect(result, equals('olleh')); |
| }); |
| } |