test.tex
contains the following code
\begin{itemize}[(i)]
\item One
\item Two
\item Three
\end{itemize}
When I use this file using \verbatimInput
it prints c@FancyVerbLi
as the final line.
\documentclass[11pt]{beamer}
\usepackage{fancyvrb}
\begin{document}
\begin{frame}
\fvset{fontsize=\small,frame=single, numbers=left,numbersep=3pt}
\VerbatimInput{test.tex}
\end{frame}
\end{document}
How can I remove it from the output?
Edit: The output that I get is