code: def test_issue324():
      sa = analysis.StemmingAnalyzer()
      result = highlight.highlight(
          u("Indexed!\n1"),
          [u("index")],
          sa,
          fragmenter=highlight.ContextFragmenter(),
          formatter=highlight.UppercaseFormatter(),
      )
      assert result == "INDEXED!\n1"
  
imports: from __future__ import with_statement
  import pytest
  from whoosh import analysis, highlight, fields, qparser, query
  from whoosh.compat import u
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex
label_desc: Use image node_id 16 for calling a global function with example usage: test_issue324() without return types