Skip to content

Test that this case of combination of different modes of indentation works #105

@konard

Description

@konard
empInfo
  employees:
    (
      name (James Kirk)
      age 40
    )
    (
      name (Jean-Luc Picard)
      age 45
    )
    (
      name (Wesley Crusher)
      age 27
    )

We need to make sure we have such a test in all C#, Rust, JS languages. The test above tests we are able to mix different modes of indented syntax.

For example

empinfo
  employees

This is set/object context logically where order is not guaranteed.

And

employees:
  James Kirk
  Jean-Luc Picard

this is sequence/list context logically.

So the first test above should check that we support mixing of set/sequences contexts. And it is also our hero example.

empInfo
  (
    employees: 
      (
        name (James Kirk)
        age 40
      )
      (
        name (Jean-Luc Picard)
        age 45
      )
      (
        name (Wesley Crusher)
        age 27
      )
  )

So the first example should be equivalent to this one.

We also need to test both separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions