Skip to content

Commit

Permalink
refactor: rename test files (#340)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
  • Loading branch information
pylapp committed Feb 19, 2025
1 parent 9916cf6 commit 91eda18
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Testing
// swiftlint:disable force_unwrapping

/// To test some extensions of `SwiftUI.Color`
struct TestColor_extensions {
struct ColorExtensionsTests {

@Test func initWithHexadecimalValue() throws {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import SwiftUI
import Testing

/// Class to test `Font` extensions related to `SwiftUI`
struct TestFont_SwiftUI {
struct FontSwiftUITests {

/// Tests description values of font weight
@Test func fntWeightDescription() throws {
@Test func fontWeightDescription() throws {
#expect(Font.Weight.ultraLight.description == "Ultra-Light")
#expect(Font.Weight.thin.description == "Thin")
#expect(Font.Weight.light.description == "Light")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import SwiftUI
import Testing

/// Struct to test `Int` extensions related to `SwiftUI`
struct TestInt_SwiftUI {
struct IntSwiftUITests {

/// Tests values of font weight
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import SwiftUI
import Testing

/// Struct to test `String` extensions related to `SwiftUI`
struct TestString_SwiftUI {
struct StringSwiftUITests {

/// Tests the font family values created using a font family name and a weight
@Test
Expand Down

0 comments on commit 91eda18

Please sign in to comment.