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

Ideas for new declaration syntax #3

Open
TwitchBronBron opened this issue Sep 10, 2024 · 0 comments
Open

Ideas for new declaration syntax #3

TwitchBronBron opened this issue Sep 10, 2024 · 0 comments

Comments

@TwitchBronBron
Copy link
Member

We'd love to support a new structure at some point. here are some ideas:

describe("clear array", function()
    setup(sub()
        empty = []
    end sub)

    it("empty assignment", function()

    end function)
end function)

@describe("clear array")
function _()
    setup(sub()
        empty = []
    end sub)

    it("empty assignment", function()

    end function)
end function

sub benchmark()
    describe("clear array", function()
        setup(sub()
            empty = []
        end sub)

        it("empty assignment", function()

        end function)
    end function)
end sub
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