Skip to content

Clean SwitchNode tests #805

Description

@rolnico

Describe the current behavior

For example:
node.getType() == NodeType.SWITCH && ((SwitchNode) node).isOpen()

Describe the expected behavior

node instanceof SwitchNode switchNode && switchNode.isOpen()

Describe the motivation

cleaner code

Extra Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions