mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix unit test
This commit is contained in:
parent
4027a89b0a
commit
2f6b2d7a79
@ -27,6 +27,7 @@
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
language = "en"
|
||||
codeCoverageEnabled = "YES"
|
||||
onlyGenerateCoverageForSpecifiedTargets = "YES">
|
||||
<CodeCoverageTargets>
|
||||
|
@ -9,7 +9,7 @@
|
||||
//
|
||||
// ---------------------------------------------------------------------------
|
||||
//
|
||||
// © 2016-2020 1024jp
|
||||
// © 2016-2022 1024jp
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@ -49,7 +49,7 @@ final class SyntaxTests: XCTestCase {
|
||||
let bundle = Bundle(for: type(of: self))
|
||||
|
||||
// load styles
|
||||
let dictsWithNames = bundle.urls(forResourcesWithExtension: "yaml", subdirectory: styleDirectoryName)!
|
||||
let dictsWithNames = bundle.urls(forResourcesWithExtension: "yml", subdirectory: styleDirectoryName)!
|
||||
.map { url -> (String, SyntaxManager.StyleDictionary) in
|
||||
let string = try! String(contentsOf: url)
|
||||
let name = url.deletingPathExtension().lastPathComponent
|
||||
|
Loading…
Reference in New Issue
Block a user