Skip to content

Commit

Permalink
fix: update macro tests for swift-syntax 6
Browse files Browse the repository at this point in the history
  • Loading branch information
watt committed Oct 3, 2024
1 parent e0afbb3 commit 1d84a4f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class ObservableStateMacroTests: XCTestCase {
#"""
@available(iOS 18, *)
struct State {
var count = 0 {
var count {
@storageRestrictions(initializes: _count)
init(initialValue) {
_count = initialValue
Expand Down Expand Up @@ -82,7 +82,7 @@ final class ObservableStateMacroTests: XCTestCase {
} expansion: {
#"""
struct State {
var count = 0 {
var count {
@storageRestrictions(initializes: _count)
init(initialValue) {
_count = initialValue
Expand Down Expand Up @@ -128,7 +128,7 @@ final class ObservableStateMacroTests: XCTestCase {
} expansion: {
#"""
public struct State {
var count = 0 {
var count {
@storageRestrictions(initializes: _count)
init(initialValue) {
_count = initialValue
Expand Down Expand Up @@ -171,7 +171,7 @@ final class ObservableStateMacroTests: XCTestCase {
} expansion: {
#"""
package struct State {
var count = 0 {
var count {
@storageRestrictions(initializes: _count)
init(initialValue) {
_count = initialValue
Expand Down

0 comments on commit 1d84a4f

Please sign in to comment.