summary refs log tree commit diff stats
path: root/compiler/idents.nim
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2024-08-20 22:27:55 +0300
committerGitHub <noreply@github.com>2024-08-20 21:27:55 +0200
commit6320b0cd5b79fb0a11601c2a4cd675a0fc3b13f7 (patch)
tree47ddcf9f168b6b1aa93b296407703d29024d0713 /compiler/idents.nim
parenteed9cb0d3f8e1357956adcacd54e6d9baf25f899 (diff)
downloadNim-6320b0cd5b79fb0a11601c2a4cd675a0fc3b13f7.tar.gz
allow qualifying macro pragmas (#23985)
fixes #12696
Diffstat (limited to 'compiler/idents.nim')
0 files changed, 0 insertions, 0 deletions
14' href='#n14'>14 15






                                                         
                              


                                                                  
                                    


                                                              
import { twoFer } from './two-fer';

describe('twoFer()', () => {
  test('no name given', () => {
    expect(twoFer()).toEqual('One for you, one for me.');
  });

  test('a name given', () => {
    expect(twoFer('Alice')).toEqual('One for Alice, one for me.');
  });

  test('another name given', () => {
    expect(twoFer('Bob')).toEqual('One for Bob, one for me.');
  });
});