A freon hose is fine as a temporary test hose, but i would not use one in a permanent installation. Its not just the diesel fuel that is a problem, but heat too will degrade the hose.
Remeber the saying "You can pay a little now or alot later". Do it the right way and use AN hose and fittings or at least fuel hose designed for that purpose. If you try and save a few bucks by using an old freon hose and it bursts, that is the end of your truck ALA BBQ style