Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0245-tca-tour-pt3] Test case testAddStandup crash #162

Open
SunsetWan opened this issue Mar 17, 2025 · 1 comment
Open

[0245-tca-tour-pt3] Test case testAddStandup crash #162

SunsetWan opened this issue Mar 17, 2025 · 1 comment

Comments

@SunsetWan
Copy link

Steps to reproduce it

  1. Open Standups project at git commit id f8a3513fac4e0949d729650c8b7c956c72e65f51
  2. Run test case testAddStandup from test suite StandupsListTests
  3. Crash!

Screenshots

Image Image

Try to fix

I make this change to make the test case pass. It turns out that index 0 of $0.standups is valid. So I am confused about this crash 🧐 .

Image

@SunsetWan
Copy link
Author

Environment

  • Xcode 16.2 (16C5032a)
  • macOS 15.3.1 (24D70)
  • Swift: swift-driver version 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant