mustache / spec

The Mustache spec.
MIT License
361 stars 71 forks source link

HelperIn this way, the test seems like you are purely testing for the absence of functionality. I think it is more motivating if you contrast it with the desired behavior: #184

Closed Dirtyyt66 closed 7 months ago

Dirtyyt66 commented 7 months ago
          In this way, the test seems like you are purely testing for the absence of functionality. I think it is more motivating if you contrast it with the desired behavior:
    data:
      a.b: c
      a: { b: d }
    template: '{{a.b}}'
    expected: 'd'

This is also why I suggested "No Masking" for the test name.

_Originally posted by @jgonggrijp in https://github.com/mustache/spec/pull/180#discussion_r1402457013_

jgonggrijp commented 7 months ago

@Dirtyyt66 did you actually intend to report an issue or is this entirely accidental input? In the first case, please edit and I will reopen.