Skip to content

Commit 2cad3bc

Browse files
crazytonylimokagio
andauthored
Rename argument name "filename" to "fileName"
Co-authored-by: Gio Lodi <giovanni.lodi42@gmail.com>
1 parent 9bdacfd commit 2cad3bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/WordPressTest/NSManagedObject+Fixture.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extension NSManagedObject {
1010
/// - filename: The name of the JSON file to be loaded
1111
/// - context: The managed object context to use
1212
/// - Returns: A new instance with property values of the given JSON file.
13-
static func fixture(fromFile filename: String, context: NSManagedObjectContext) -> Self {
13+
static func fixture(fromFile fileName: String, context: NSManagedObjectContext) -> Self {
1414
guard let jsonObject = JSONLoader().loadFile(named: filename) else {
1515
fatalError("Mockup data could not be parsed, the filename is \(filename)")
1616
}

0 commit comments

Comments
 (0)