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

[Fixes] Small Fixes #5

Merged
merged 3 commits into from
Apr 29, 2024
Merged

Conversation

TurtleP
Copy link
Contributor

@TurtleP TurtleP commented Mar 25, 2024

Description

This fixes the logic for love.filesystem.load because I forgot to fix that in the last pr for fixing test:isLuaAtLeastVersion. I have also changed how love.filesystem.mountCommonPath works by giving it a table of common path, mountpoint, and mode which validates if the common path exists (not empty) before trying to mount it accordingly.

This is useful because even LÖVE for Android has empty paths, so we should be checking that.

@ellraiser
Copy link
Owner

ellraiser commented Apr 27, 2024

Linux fails because "userdesktop" can't be mounted:
mountCommonPath - assert 5 [check mount userdesktop] expected 'true' got 'false'

You'll need to have an exception for that like there was before your changes:
https://github.com/ellraiser/love-test/blob/main/tests/filesystem.lua#L406

@ellraiser ellraiser merged commit f63edae into ellraiser:main Apr 29, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants