summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/cog.test.tsx
blob: 89090faddcd1515a8ce7122e2997248a94c34de3 (plain)
1
2
3
4
5
6
7
8
9
import { render } from '@test-utils';
import Cog from './cog';

describe('Cog', () => {
  it('renders a Cog icon', () => {
    const { container } = render(<Cog />);
    expect(container).toBeDefined();
  });
});
mber.Integer.Long */
(Prism.languages.gap = {
  shell: {
    pattern: /^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,
    greedy: !0,
    inside: {
      gap: {
        pattern: /^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,
        lookbehind: !0,
        inside: null,
      },
      punctuation: /^gap>/,
    },
  },
  comment: { pattern: /#.*/, greedy: !0 },
  string: {
    pattern:
      /(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,
    lookbehind: !0,
    greedy: !0,
    inside: {
      continuation: {
        pattern: /([\r\n])>/,
        lookbehind: !0,
        alias: 'punctuation',
      },
    },
  },
  keyword:
    /\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,
  boolean: /\b(?:false|true)\b/,
  function: /\b[a-z_]\w*(?=\s*\()/i,
  number: {
    pattern:
      /(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,
    lookbehind: !0,
  },
  continuation: { pattern: /([\r\n])>/, lookbehind: !0, alias: 'punctuation' },
  operator: /->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,
  punctuation: /[()[\]{},;.:]/,
}),
  (Prism.languages.gap.shell.inside.gap.inside = Prism.languages.gap);