blob: d9c152e1b94e5e8535ef11b4e4069c1d95496045 [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
import 'dart:ffi';
import 'dart:io';
import 'package:expect/expect.dart';
void main() {
void testCurrent() {
final currentAbi = Abi.current();
void testPlatformVersionCompatibility() {
final abiStringFromPlatformVersion = Platform.version.split('"')[1];
final abiStringFromCurrent = Abi.current().toString();
Expect.equals(abiStringFromPlatformVersion, abiStringFromCurrent);