Sha256: 6e31977e64b0fe5e70f6b8ebd35d6411225b4e7398936da4f98954cba8b9521c

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

@diagrams
Feature: Syntrax

  As a liquid user, I want to use syntrax diagram

  Background:
    Given I have a liquid template with:
      """
      {% syntrax %}
      indentstack(10,
        line(opt('-'), choice('0', line('1-9', loop(None, '0-9'))),
          opt('.', loop('0-9', None))),
        line(opt(choice('e', 'E'), choice(None, '+', '-'), loop('0-9', None)))
      )
      {% endsyntrax %}
      """

  Scenario: Basic Rendering
    When I render it
    Then the output should contains '<svg'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
liquid-diagrams-0.4.0 features/diagrams/syntrax.feature