Reformatted the tests for the Notifying package tests.
This commit is contained in:
@@ -30,7 +30,8 @@ struct AppNotificationTests {
|
||||
#expect(notification.symbol == "bell")
|
||||
}
|
||||
|
||||
@Test func `initializer stores the given identifier`() {
|
||||
@Test
|
||||
func `initializer stores the given identifier`() {
|
||||
let id = UUID()
|
||||
let notification = AppNotification(
|
||||
id: id,
|
||||
@@ -49,7 +50,8 @@ struct AppNotificationTests {
|
||||
@Suite("Equatable")
|
||||
struct EquatableConformance {
|
||||
|
||||
@Test func `notifications with the same identifier and values are equal`() {
|
||||
@Test
|
||||
func `notifications with the same identifier and values are equal`() {
|
||||
let id = UUID()
|
||||
|
||||
let first = AppNotification(
|
||||
@@ -68,7 +70,8 @@ struct AppNotificationTests {
|
||||
#expect(first == second)
|
||||
}
|
||||
|
||||
@Test func `notifications with generated identifiers are never equal`() {
|
||||
@Test
|
||||
func `notifications with generated identifiers are never equal`() {
|
||||
let first = AppNotification(
|
||||
kind: .info,
|
||||
message: "Something happened.",
|
||||
|
||||
Reference in New Issue
Block a user