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

GD-44: Cannot save file "Saved 5 modified resource(s)" #44

Closed
clemens-tolboom opened this issue Apr 3, 2021 · 1 comment · Fixed by #46
Closed

GD-44: Cannot save file "Saved 5 modified resource(s)" #44

clemens-tolboom opened this issue Apr 3, 2021 · 1 comment · Fixed by #46
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@clemens-tolboom
Copy link
Contributor

The used Godot version:
3.3.rc7

OS including version:

MacOS 11.2.3

Describe the bug

Running test works ... editing test subject or test file gives:

image

The file is not saved.

Steps to Reproduce

  1. Add a GD file to test against
  2. Create test
  3. Test a function for that file
  4. Run tests
  5. Edit either file
  6. Try to save
  7. Rerun unit tests
  8. File still not saved
  9. Rerun unit tests (debug)
  10. File gets saved!

Minimal reproduction project:

File

extends Reference

class_name StandaloneScript

func add(a:int, b:int) -> int:
	return a + b

Test file

# GdUnit generated TestSuite
class_name standalone_scriptTest
extends GdUnitTestSuite

# TestSuite generated from
const __source = 'res://standalone_script.gd'

func test_add() -> void:
	# remove this line and complete your test
	var t:StandaloneScript = StandaloneScript.new()
	var sum = t.add(2,2)
	assert_int(sum).is_equal(4)
@clemens-tolboom clemens-tolboom added the bug Something isn't working label Apr 3, 2021
@MikeSchulze MikeSchulze added this to To Do in GdUnit3 via automation Apr 3, 2021
@MikeSchulze MikeSchulze changed the title Cannot save file "Saved 5 modified resource(s)" GD-44: Cannot save file "Saved 5 modified resource(s)" Apr 3, 2021
@MikeSchulze MikeSchulze added this to the beta v0.9.2 milestone Apr 3, 2021
@MikeSchulze MikeSchulze moved this from To Do to In progress in GdUnit3 Apr 3, 2021
@MikeSchulze
Copy link
Owner

@clemens-tolboom i can reproduce on v3.2.4.beta4 thanks for reporting

@MikeSchulze MikeSchulze linked a pull request Apr 3, 2021 that will close this issue
GdUnit3 automation moved this from In progress to Done Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
GdUnit3
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants