refactor(compiler): refactor ast spans test to be more human readable (#38902)
refactor(compiler): refactor ast spans test to be more human readable (#38902)

The current tests print out the span numbers, which are really difficult to verify
since it requires manually going to the template string and looking at what
characters appear within those indexes. The better humanization would be
to use the toString method of the spans, which prints the span text itself

PR Close #38902

manekinekko/angular,ocombe/angular,mgechev/angular,alxhub/angular,JiaLiPassion/angular,blesh/angular,gnomeontherun/angular,ocombe/angular,manekinekko/angular,gkalpak/angular,IdeaBlade/angular,gkalpak/angular,IdeaBlade/angular,blesh/angular,angular/angular,gnomeontherun/angular,shairez/angular,brandonroberts/angular,shairez/angular,mgechev/angular,angular-indonesia/angular,ocombe/angular,brandonroberts/angular,gkalpak/angular,angular-indonesia/angular,manekinekko/angular,IdeaBlade/angular,mgechev/angular,JiaLiPassion/angular,JiaLiPassion/angular,JiaLiPassion/angular,gnomeontherun/angular,blesh/angular,blesh/angular,manekinekko/angular,shairez/angular,alxhub/angular,blesh/angular,angular-indonesia/angular,brandonroberts/angular,angular/angular,alxhub/angular,manekinekko/angular,mgechev/angular,shairez/angular,shairez/angular,gkalpak/angular,angular/angular,ocombe/angular,IdeaBlade/angular,IdeaBlade/angular,brandonroberts/angular,brandonroberts/angular,ocombe/angular,ocombe/angular,mgechev/angular,alxhub/angular,gnomeontherun/angular,angular/angular,brandonroberts/angular,manekinekko/angular,alxhub/angular,angular-indonesia/angular