File size: 566 Bytes
843d691
 
 
 
 
9b8aa82
 
843d691
9b8aa82
 
843d691
 
9b8aa82
843d691
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 ---');
  }
}