Rename staticVar with isStatic
All checks were successful
gitea-openium/resgen.swift/pipeline/pr-master This commit looks good

This commit is contained in:
2025-07-25 14:54:23 +02:00
parent bd15afc3d6
commit ee9175c185
14 changed files with 61 additions and 61 deletions

View File

@@ -387,7 +387,7 @@ final class StringsFileGeneratorTests: XCTestCase {
// Expect
let expect = Self.getExtensionContentExpectation(
staticVar: false
isStatic: false
)
if extensionContent != expect {
@@ -422,7 +422,7 @@ final class StringsFileGeneratorTests: XCTestCase {
// Expect
let expect = Self.getExtensionContentExpectation(
staticVar: false,
isStatic: false,
s1DefOneComment: "This is a comment",
s1DefTwoComment: "This is a comment",
s2DefOneComment: "This is a comment",
@@ -437,7 +437,7 @@ final class StringsFileGeneratorTests: XCTestCase {
}
// MARK: - Extension Content Static
func testGeneratedExtensionContentWithStaticVar() {
func testGeneratedExtensionContentWithIsStatic() {
// Given
let sectionOne = Section.Mock.getSectionOne()
let sectionTwo = Section.Mock.getSectionTwo()
@@ -457,7 +457,7 @@ final class StringsFileGeneratorTests: XCTestCase {
// Expect
let expect = Self.getExtensionContentExpectation(
staticVar: true,
isStatic: true,
visibility: .package,
assetBundle: .module
)
@@ -468,7 +468,7 @@ final class StringsFileGeneratorTests: XCTestCase {
XCTAssertEqual(extensionContent.adaptForXCTest(), expect.adaptForXCTest())
}
func testGeneratedExtensionContentWithStaticVarWithComment() {
func testGeneratedExtensionContentWithIsStaticWithComment() {
// Given
let sectionOne = Section.Mock.getSectionOne(
defOneComment: "This is a comment",
@@ -494,7 +494,7 @@ final class StringsFileGeneratorTests: XCTestCase {
// Expect
let expect = Self.getExtensionContentExpectation(
staticVar: true,
isStatic: true,
s1DefOneComment: "This is a comment",
s1DefTwoComment: "This is a comment",
s2DefOneComment: "This is a comment",