Figure out how to test non-symmetric translations

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Export to Language
    • None
    • None

      Right now our test suite expects all translations to be symmetric, but that's not always possible (especially as our generated code gets more idiomatic).

      For example, Code in javascript can accept a function or a string, but in shell it only accepts a string.

      Javascript --> Shell:

      Code(function(x){console.log(x)};) --> Code("function(x){console.log(x)};")
      

      Shell --> Javascript

      Code("function(x){console.log(x)};") --> Code("function(x){console.log(x)};")
      

            Assignee:
            Anna Herlihy (Inactive)
            Reporter:
            Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: