hpi-swa-teaching / AcceptIt

SWT 2018 Group 12
MIT License
3 stars 3 forks source link

A Scenario with two consecutive spaces cant be saved #64

Open MarcelSchmidberger opened 6 years ago

MarcelSchmidberger commented 6 years ago

Expected Behavior

Unneeded spaces should be ignored.

Actual Behavior

Two consecutive spaces prevent you from saving the scenario. image

Steps to reproduce error

Enter a second space in the readme from the factory

MarcelSchmidberger commented 6 years ago

Estimation 5: Need to check parser

Askir commented 6 years ago

I don't think this is actually much of a problem, the popup should be a little nicer and at least tell you that your syntax doesn't fit but I don't think 2 spaces should be allowed. Autocorrection would maybe be nice but honestly at that point we might aswell check for typos etc...

MarcelSchmidberger commented 6 years ago

Indentation work so it is ok