blob: 4f491cf9b95465cf8884fb53e9a1fc8f05f72c8c [file] [log] [blame]
// Copyright 2017 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.
import 'dart:io';
import 'package:path/path.dart' as path;
/// Returns the test data path.
String getTestDataPath(String basename) {
return path.normalize(
path.join(
Directory.current.path,
'testdata',
basename,
),
);
}