github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/c0149.yml (about)

     1  
     2  vars:
     3    license: |
     4      /* This Source Code Form is subject to the terms of the Mozilla Public
     5       * License, v. 2.0. If a copy of the MPL was not distributed with this
     6       * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
     7  
     8  tasks:
     9    -
    10      name: task
    11      task:
    12        - func: cmd
    13          vars:
    14  
    15          do:
    16            - name: print
    17              cmd: |
    18                {{ regexMatch "MPL/2.0" .license }}
    19  
    20            - name: print
    21              cmd: |
    22                {{ regexMatch "MPLxx/2.0" .license }}