Download flutter/dev/integration_tests/web/test/test.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/web/test/test.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/integration_tests/web/test/test.dart
-
curl -L -o test.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/web/test/test.dart
566 Bytes
| // 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:web_integration/a.dart' | |
| if (dart.library.io) 'package:web_integration/b.dart' | |
| as message1; | |
| import 'package:web_integration/c.dart' | |
| if (dart.library.js_interop) 'package:web_integration/d.dart' | |
| as message2; | |
| void main() { | |
| if (message1.message == 'a' && message2.message == 'd') { | |
| print('--- TEST SUCCEEDED ---'); | |
| } else { | |
| print('--- TEST FAILED ---'); | |
| } | |
| } | |