blob: 15c6776586dbc76c9e39e8bc33d24a1904d38b3f [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.
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);